public class FileImpl extends Object implements IFile
| Modifier and Type | Method and Description |
|---|---|
IDirectory |
convert() |
IDirectory |
convertNested() |
boolean |
equals(Object obj) |
long |
getLastModified() |
String |
getName() |
IDirectory |
getParent() |
IDirectory |
getRoot() |
long |
getSize() |
int |
hashCode() |
boolean |
isDirectory() |
boolean |
isFile() |
InputStream |
open()
The input stream returned by this method should always be closed after use.
|
String |
toString() |
URL |
toURL() |
public IDirectory convert()
public long getLastModified()
getLastModified in interface IFilepublic String getName()
public IDirectory getParent()
public long getSize()
public boolean isDirectory()
isDirectory in interface IFilepublic boolean isFile()
public InputStream open() throws IOException
IFileopen in interface IFileIOExceptionpublic IDirectory getRoot()
public URL toURL() throws MalformedURLException
toURL in interface IFileMalformedURLExceptionpublic IDirectory convertNested()
convertNested in interface IFileCopyright © 2010 - 2020 Adobe. All Rights Reserved