Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mindprod.common15
Class Localise

    java.lang.Object
      com.mindprod.common11.Localise
          com.mindprod.common15.Localise

    public class Localise

extends com.mindprod.common11.Localise

Miscellaneous static methods localising an app to a particular platform under JDK 1.5+.

Since:
  2009-05-03
Version:
  1.0 2009-05-03 - initial version, just localise(String)
Author:
  Roedy Green, Canadian Mind Products
See Also:
  "com.mindprod.hunkio.PrintWriterPortable", "com.mindprod.common11.Localise"

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+.

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

### Localise

    public Localise()

Method Detail

### localise

    public 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+.

  Parameters:
    `s` - string with possible \ns embedded.
  Returns:
    string with \n converted to \r\n for Windows, \a for Mac, \n for Unix etc.
  See Also:
    "com.mindprod.common11.Localise#localise(String)"

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD