|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.services.ifs.files.IFSHostFile
public class IFSHostFile
IHostFile implementation for IFS file.
Field Summary | |
---|---|
protected static String[] |
ALLDRIVES
|
static String |
copyright
|
Constructor Summary | |
---|---|
IFSHostFile(IFSFile file,
IToolboxSessionProvider sessionProvider)
Create an IFSHostFile. |
|
IFSHostFile(IToolboxSessionProvider sessionProvider,
String absoluteFilePath)
Create an IFSHostFile. |
Method Summary | |
---|---|
boolean |
canRead()
|
boolean |
canWrite()
|
boolean |
exists()
|
String |
getAbsolutePath()
|
String |
getCanonicalPath()
Return canonical path. |
String |
getCCSID()
|
long |
getModifiedDate()
|
String |
getName()
|
String |
getParentName()
|
String |
getParentPath()
|
String |
getSeparator()
Return separator. |
IToolboxSessionProvider |
getSessionProvider()
|
long |
getSize()
|
AS400 |
getSystem()
|
boolean |
isArchive()
|
boolean |
isDirectory()
|
boolean |
isFile()
|
boolean |
isHidden()
|
boolean |
isRoot()
|
IFSHostFile[] |
listFiles()
|
protected boolean |
nameIsRoot(String name)
Return true if name matches the root naming pattern. |
void |
renameTo(String newAbsolutePath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String copyright
protected static final String[] ALLDRIVES
Constructor Detail |
---|
public IFSHostFile(IToolboxSessionProvider sessionProvider, String absoluteFilePath)
as400:
- an AS400 object.absoluteFilePath:
- the absolute file name.public IFSHostFile(IFSFile file, IToolboxSessionProvider sessionProvider)
file:
- an IFSFile object.Method Detail |
---|
public boolean canRead()
public boolean canWrite()
public boolean exists()
public String getAbsolutePath()
public long getModifiedDate()
public String getName()
public String getParentPath()
public long getSize()
public boolean isArchive()
public boolean isDirectory()
public boolean isFile()
public boolean isHidden()
public boolean isRoot()
protected boolean nameIsRoot(String name)
name:
- name of the file.public void renameTo(String newAbsolutePath)
public String getCanonicalPath()
public String getSeparator()
public String getCCSID()
public String getParentName()
public IFSHostFile[] listFiles() throws IOException
IOException
public AS400 getSystem()
public IToolboxSessionProvider getSessionProvider()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |