|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdirk_krause.jtools.PlatformInformation
public class PlatformInformation
Field Summary | |
---|---|
protected boolean[] |
bv
The boolean values array. |
static java.lang.String[] |
jhelpCommand
The command to run from the init() method |
static java.lang.String[] |
jhelpKeys
The keys issued by "jhelp platform" |
protected java.lang.String[] |
sv
The string values array. |
Constructor Summary | |
---|---|
PlatformInformation()
Create a new data set using default values. |
Method Summary | |
---|---|
void |
cloneFrom(PlatformInformation ori)
Clone a PlatformInformation data set from an existing data set. |
int |
getGid()
Get the users group ID |
java.lang.String |
getHomeDirectory()
Get the users home directory. |
java.lang.String |
getOriginalCurrentDirectory()
Get the original current working directory. |
java.lang.String |
getTempDirectory()
Get the temporary directory. |
int |
getUid()
Get the users user ID |
java.lang.String |
getUserComment()
Get the users gecos field. |
java.lang.String |
getUserName()
Get the users login name. |
boolean |
init()
Initialize, run "jhelp platform" to retrieve settings. |
boolean |
isBigEndian()
Find out, whether the system stores integer data big-endian. |
boolean |
isCaseSensitive()
Find out whether file names are case-sensitive on the system. |
boolean |
isLeadingDotAvailable()
Find out whether file names are allowed to have a leading dot. |
boolean |
isUsingAllDotAll()
Find out whether the system needs pattern "*.*" to access all files rather than "*" |
boolean |
isUsingBackslash()
Find out whether the backslash is used for file name separations. |
boolean |
isUsingDosStyleFileNames()
Find out whether the system is restricted to 8+3 file names. |
boolean |
isUsingDriveLetter()
Find out whether absolute path names have a drive letter at start. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] jhelpKeys
public static final java.lang.String[] jhelpCommand
protected boolean[] bv
protected java.lang.String[] sv
Constructor Detail |
---|
public PlatformInformation()
Method Detail |
---|
public void cloneFrom(PlatformInformation ori)
ori
- The original data set.public boolean isCaseSensitive()
public boolean isUsingDriveLetter()
public boolean isUsingBackslash()
public boolean isUsingAllDotAll()
public boolean isUsingDosStyleFileNames()
public boolean isLeadingDotAvailable()
public boolean isBigEndian()
public java.lang.String getUserName()
public java.lang.String getHomeDirectory()
public java.lang.String getUserComment()
public java.lang.String getTempDirectory()
public java.lang.String getOriginalCurrentDirectory()
public int getUid()
public int getGid()
public boolean init()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |