|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindprod.common11.Localise
com.mindprod.common15.Localise
public class Localise
Miscellaneous static methods localising an app to a particular platform under JDK 1.5+.
Localise
,
com.mindprod.hunkio.PrintWriterPortable
Field Summary |
---|
Fields inherited from class com.mindprod.common11.Localise |
---|
lineSeparator |
Constructor Summary | |
---|---|
Localise()
|
Method Summary | |
---|---|
static java.lang.String |
localise(java.lang.String s)
converts \n in String to configurable local line separator This is a more efficient implementation of com.mindprod.common11.Localise for JDK 1.5+. |
static java.lang.String |
unlocalise(java.lang.String s)
converts \r\n in String to \n. |
Methods inherited from class com.mindprod.common11.Localise |
---|
setLineSeparator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Localise()
Method Detail |
---|
public static java.lang.String localise(java.lang.String s)
s
- string with possible \ns embedded.
Localise.localise(String)
public static java.lang.String unlocalise(java.lang.String s)
s
- string with possible \ns embedded.
com.mindprod.common15.Localise.localise(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |