|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--nwnintf.format.mod.ResRef
Encapsulate a ResRef in a module.
Field Summary | |
static int |
tiDLG
|
static int |
tiGFF
|
static int |
tiGIT
|
static int |
tiNCS
|
static int |
tiNSS
|
static int |
tiPTT
|
static int |
tiSEZ
|
static int |
tiUTC
|
static int |
tiUTD
|
static int |
tiUTE
|
static int |
tiUTI
|
static int |
tiUTM
|
static int |
tiUTP
|
static int |
tiUTS
|
static int |
tiUTT
|
static int |
tiUTW
|
static java.lang.String |
tsDLG
|
static java.lang.String |
tsGFF
|
static java.lang.String |
tsGIT
|
static java.lang.String |
tsNCS
|
static java.lang.String |
tsNSS
|
static java.lang.String |
tsPTT
|
static java.lang.String |
tsSEZ
|
static java.lang.String |
tsUTC
|
static java.lang.String |
tsUTD
|
static java.lang.String |
tsUTE
|
static java.lang.String |
tsUTI
|
static java.lang.String |
tsUTM
|
static java.lang.String |
tsUTP
|
static java.lang.String |
tsUTS
|
static java.lang.String |
tsUTT
|
static java.lang.String |
tsUTW
|
Constructor Summary | |
ResRef()
No-argument constructor, for serialization. |
|
ResRef(ResRef resref)
Copy constructor. |
|
ResRef(ResRef resref,
int type)
Copy constructor, changing type. |
|
ResRef(java.lang.String basename,
int type)
|
|
ResRef(java.lang.String basename,
java.lang.String type)
|
Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
filename()
This resref as a filename in dotted-pair format, e.g. |
java.lang.String |
getBasename()
|
int |
getType()
This method exists for serialization. |
int |
hashCode()
|
java.lang.String |
name()
|
static ResRef |
parseFilename(java.lang.String nametype)
|
void |
setBasename(java.lang.String basename)
|
void |
setType(int type)
|
void |
setType(java.lang.String type)
|
java.lang.String |
toString()
|
int |
typeInt()
Type of this resref as an int |
static int |
typeInt(java.lang.String type)
The integer type code for this string type. |
java.lang.String |
typeStr()
Type of this resref as a string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static java.lang.String tsNSS
public static int tiNSS
public static java.lang.String tsNCS
public static int tiNCS
public static java.lang.String tsSEZ
public static int tiSEZ
public static java.lang.String tsUTC
public static int tiUTC
public static java.lang.String tsUTD
public static int tiUTD
public static java.lang.String tsUTE
public static int tiUTE
public static java.lang.String tsUTI
public static int tiUTI
public static java.lang.String tsUTM
public static int tiUTM
public static java.lang.String tsUTP
public static int tiUTP
public static java.lang.String tsUTS
public static int tiUTS
public static java.lang.String tsUTT
public static int tiUTT
public static java.lang.String tsUTW
public static int tiUTW
public static java.lang.String tsGIT
public static int tiGIT
public static java.lang.String tsGFF
public static int tiGFF
public static java.lang.String tsPTT
public static int tiPTT
public static java.lang.String tsDLG
public static int tiDLG
Constructor Detail |
public ResRef()
public ResRef(java.lang.String basename, int type)
basename
- The base name of the resref, e.g. "amauna"type
- The type of the resref as an int. Use -1 for undefined type.public ResRef(java.lang.String basename, java.lang.String type)
basename
- The base name of the resref, e.g. "amauna".type
- The type as a string, e.g. "utc", or as a number.public ResRef(ResRef resref)
public ResRef(ResRef resref, int type)
Method Detail |
public static ResRef parseFilename(java.lang.String nametype)
nametype
- A dotted-pair resref e.g. "amauna.utc".public static int typeInt(java.lang.String type)
public java.lang.String typeStr()
public int typeInt()
public java.lang.String filename()
public void setBasename(java.lang.String basename)
public java.lang.String getBasename()
public int getType()
java.beans.XMLEncoder
public void setType(int type)
public void setType(java.lang.String type)
public java.lang.String name()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |