|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.nls.Nls
public class Nls
| Field Summary | |
|---|---|
protected static char[] |
CR
Define the cr (char[]) constant. |
static char[] |
HEX_CHAR_LOWER_TABLE
Define the hex char lower table (char[]) constant. |
static char[] |
HEX_CHAR_UPPER_TABLE
Define the hex char upper table (char[]) constant. |
static byte[] |
HEX_UPPER_TABLE
Define the hex upper table (byte[]) constant. |
protected static char[] |
LF
Define the lf (char[]) constant. |
protected static char[] |
OPEN_TIME
Define the open time (char[]) constant. |
protected static char[] |
TAB
Define the tab (char[]) constant. |
| Constructor Summary | |
|---|---|
Nls()
Constructor for Nls. |
|
| Method Summary | |
|---|---|
static java.lang.String |
format(java.lang.String pattern,
java.lang.Object object)
Format with the specified pattern and object parameters and return the String result. |
static java.lang.String |
format(java.lang.String pattern,
java.lang.Object[] objects)
Format with the specified pattern and objects parameters and return the String result. |
static java.lang.String |
formatAsciiBytes(byte[] bytes,
int index,
int length)
Format ascii bytes with the specified bytes, index and length parameters and return the String result. |
static void |
formatAsciiBytes(byte[] bytes,
int index,
int length,
java.lang.StringBuffer buffer)
Format ascii bytes with the specified bytes, index, length and buffer parameters. |
static java.lang.String |
formatData(java.lang.Object data)
Format data with the specified data parameter and return the String result. |
static void |
formatData(java.lang.StringBuffer buffer,
java.lang.Object data)
The formatData will format the data values to a nice string. |
static void |
formatData(java.lang.StringBuffer buffer,
java.lang.Object data,
int depth)
Format data with the specified buffer, data and depth parameters. |
static java.lang.String |
formatHexBytes(byte[] bytes,
int index,
int length)
Format hex bytes with the specified bytes, index and length parameters and return the String result. |
static void |
formatHexBytes(byte[] bytes,
int index,
int length,
java.lang.StringBuffer buffer)
Format hex bytes with the specified bytes, index, length and buffer parameters. |
static void |
formatHexBytesOnly(byte[] bytes,
int index,
int length,
java.lang.StringBuffer buffer)
Format hex bytes only with the specified bytes, index, length and buffer parameters. |
static java.lang.String |
formatTimestamp(long timestamp)
Format timestamp with the specified timestamp parameter and return the |
static java.lang.String |
formatTimestamp(java.lang.Object timestampObject)
Format timestamp with the specified timestamp object parameter and return the String result. |
static java.lang.String |
getName(java.lang.Class aclass,
java.lang.String name,
java.lang.String extension)
Get name with the specified aclass, name and extension parameters and The name ( String) parameter. |
static java.lang.String[] |
getNlsAdditions()
Gets the nls additions (String[]) value. |
static java.util.Hashtable |
getProperties(java.lang.Class aclass,
java.lang.String name)
Get properties with the specified aclass and name parameters and return the Hashtable result. |
static java.util.ResourceBundle |
getResourceBundle(java.lang.Class resourceBaseClass)
Get resource bundle with the specified resource base class parameter and return the ResourceBundle result. |
static java.util.ResourceBundle |
getResourceBundle(java.lang.String name)
Get resource bundle with the specified name parameter and return the value. |
static java.net.URL |
getUrl(java.lang.Class aclass,
java.lang.String name,
java.lang.String extension)
Get url with the specified aclass, name and extension parameters and return the URL result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte[] HEX_UPPER_TABLE
public static final char[] HEX_CHAR_LOWER_TABLE
public static final char[] HEX_CHAR_UPPER_TABLE
protected static final char[] CR
protected static final char[] LF
protected static final char[] TAB
protected static final char[] OPEN_TIME
| Constructor Detail |
|---|
public Nls()
| Method Detail |
|---|
public static java.lang.String format(java.lang.String pattern,
java.lang.Object object)
String) parameter. The
pattern - The pattern (String) parameter.object - The object (Object) parameter.
String) value.format(String,Object[])
public static java.lang.String format(java.lang.String pattern,
java.lang.Object[] objects)
String) parameter. The
pattern - The pattern (String) parameter.objects - The objects (Object[]) parameter.
String) value.format(String,Object)
public static java.lang.String formatAsciiBytes(byte[] bytes,
int index,
int length)
byte[])
parameter. The index (int) parameter. The length (int)
parameter. value.
bytes - The bytes (byte[]) parameter.index - The index (int) parameter.length - The length (int) parameter.
String)formatAsciiBytes(byte[],int,int,StringBuffer)
public static void formatAsciiBytes(byte[] bytes,
int index,
int length,
java.lang.StringBuffer buffer)
byte[]) parameter. The index (int)
parameter. The length (int) parameter. The buffer (StringBuffer)
parameter.
bytes - The bytes (byte[]) parameter.index - The index (int) parameter.length - The length (int) parameter.buffer - The buffer (StringBuffer) parameter.formatAsciiBytes(byte[],int,int)public static java.lang.String formatData(java.lang.Object data)
data - The data (Object) parameter.
String) value.formatData(StringBuffer,Object),
formatData(StringBuffer,Object,int)
public static void formatData(java.lang.StringBuffer buffer,
java.lang.Object data)
StringBuffer)
buffer - The buffer (StringBuffer) parameter.data - The data (Object) parameter.formatData(Object),
formatData(StringBuffer,Object,int)
public static void formatData(java.lang.StringBuffer buffer,
java.lang.Object data,
int depth)
buffer - The buffer (StringBuffer) parameter.data - The data (Object) parameter.depth - The depth (int) parameter.formatData(Object),
formatData(StringBuffer,Object)
public static java.lang.String formatHexBytes(byte[] bytes,
int index,
int length)
byte[])
parameter. The index (int) parameter. The length (int)
parameter.
bytes - The bytes (byte[]) parameter.index - The index (int) parameter.length - The length (int) parameter.
String) value.formatHexBytes(byte[],int,int,StringBuffer)
public static void formatHexBytes(byte[] bytes,
int index,
int length,
java.lang.StringBuffer buffer)
byte[]) parameter. The index (int)
parameter. The length (int) parameter. The buffer (StringBuffer)
parameter.
bytes - The bytes (byte[]) parameter.index - The index (int) parameter.length - The length (int) parameter.buffer - The buffer (StringBuffer) parameter.formatHexBytes(byte[],int,int)
public static void formatHexBytesOnly(byte[] bytes,
int index,
int length,
java.lang.StringBuffer buffer)
bytes - The bytes (byte[]) parameter.index - The index (int) parameter.length - The length (int) parameter.buffer - The buffer (StringBuffer) parameter.public static java.lang.String formatTimestamp(long timestamp)
timestamp - The timestamp (long) parameter.
String) value.formatTimestamp(Object)public static java.lang.String formatTimestamp(java.lang.Object timestampObject)
Object)
parameter.
timestampObject - The timestamp object (Object) parameter.
String) value.formatTimestamp(long)
public static java.lang.String getName(java.lang.Class aclass,
java.lang.String name,
java.lang.String extension)
String) parameter. The extension (String)
parameter.
aclass - The aclass (Class) parameter.name - The name (String) parameter.extension - The extension (String) parameter.
String) value.public static java.lang.String[] getNlsAdditions()
String[]) value.
public static java.util.Hashtable getProperties(java.lang.Class aclass,
java.lang.String name)
Class) parameter. The
aclass - The aclass (Class) parameter.name - The name (String) parameter.
Hashtable) value.public static java.util.ResourceBundle getResourceBundle(java.lang.String name)
name - The name (String) parameter.
ResourceBundle)getResourceBundle(Class)public static java.util.ResourceBundle getResourceBundle(java.lang.Class resourceBaseClass)
Class)
parameter. value.
resourceBaseClass - The resource base class (Class) parameter.
ResourceBundle)getResourceBundle(String)
public static java.net.URL getUrl(java.lang.Class aclass,
java.lang.String name,
java.lang.String extension)
Class) parameter. The
name (String) parameter. The extension (String)
parameter.
aclass - The aclass (Class) parameter.name - The name (String) parameter.extension - The extension (String) parameter.
URL) value.
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||