public interface NSFileObject
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_DIRECTORY
Type of this file object is a DIRECTORY.
|
static int |
TYPE_FILE
Type of this file object is a FILE.
|
static int |
TYPE_NOTEXIST
This File Object does not exist.
|
static int |
TYPE_UNSPECIFIED
Type of this file object has not been specified.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getDirNameBaseNameBackslashed()
Gets dirname and basename of this file or directory with backslashes
|
java.lang.String[] |
getDirNameBaseNameForwardslashed()
Gets dirname and basename of this file or directory with forwardslashes
|
java.lang.String |
getName()
Gets name of this file or directory
|
java.lang.String |
getNameBackslashed()
Gets name of this file or directory with backslashes
|
java.lang.String |
getNameForwardslashed()
Gets name of this file or directory with forwardslashes
|
NSFileTrustee[] |
getTrustees()
Get the NSFileTrustee(s) associated with this file object.
|
int |
getType()
Get the type of this file object
|
boolean |
isJunctionFile()
Get a boolean indicating if this object is a Junction file
|
static final int TYPE_UNSPECIFIED
static final int TYPE_FILE
static final int TYPE_DIRECTORY
static final int TYPE_NOTEXIST
java.lang.String getName()
throws SPIException
SPIExceptionjava.lang.String getNameBackslashed()
throws SPIException
SPIExceptionjava.lang.String getNameForwardslashed()
throws SPIException
SPIExceptionjava.lang.String[] getDirNameBaseNameBackslashed()
throws SPIException
SPIExceptionjava.lang.String[] getDirNameBaseNameForwardslashed()
throws SPIException
SPIExceptionint getType()
throws SPIException
SPIExceptionNSFileTrustee[] getTrustees() throws SPIException
SPIExceptionboolean isJunctionFile()
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.