com.jguild.jrpm.io.datatype
public final class I18NSTRING extends Object implements DataTypeIf
Version: $Id: I18NSTRING.java,v 1.4 2005/11/11 08:27:40 mkuss Exp $
| Method Summary | |
|---|---|
| Object | get(int i) |
| String[] | getData()
Get the rpm I18N string array as a java string array
|
| Object | getDataObject() |
| long | getElementCount() |
| long | getSize() |
| RPMIndexType | getType() |
| boolean | isArray() |
| static I18NSTRING | readFromStream(DataInputStream inputStream, IndexEntry indexEntry, long length)
Constructs a type froma stream
|
| void | setLocaleIndex(int index)
Set the locale that should be returned by toString()
|
| String | toString() |
Returns: An array of I18N strings (as defined in the tag HEADERI18NTABLE)
Parameters: inputStream An input stream indexEntry The index informations length the length of the data
Returns: The size of the read data
Throws: IOException if an I/O error occurs.
Parameters: index The index of the I18N string array. This should match the tag HEADERI18NTABLE.