|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.shared.util.SharedUtil
public class SharedUtil
Misc internal utility methods used by both the server and the client package.
| Field Summary | |
|---|---|
static java.lang.String |
SIZE_PATTERN
RegEx pattern to extract the width/height values. |
| Constructor Summary | |
|---|---|
SharedUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Checks if a and b are equals using Object.equals(Object). |
static java.lang.String |
trimTrailingSlashes(java.lang.String value)
Trims trailing slashes (if any) from a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SIZE_PATTERN
| Constructor Detail |
|---|
public SharedUtil()
| Method Detail |
|---|
public static boolean equals(java.lang.Object o1,
java.lang.Object o2)
Object.equals(Object). Handles null
values as well. Does not ensure that objects are of the same type.
Assumes that the first object's equals method handle equals properly.
o1 - The first value to compareo2 - The second value to compare
public static java.lang.String trimTrailingSlashes(java.lang.String value)
value - The string value to be trimmed. Cannot be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||