| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a resource in file system - directory or file
| Method Summary | |
boolean | delete()Deletes this resource |
boolean | exists()Returns true if this resource does exist |
String | getFullName()Returns the full name of this resource |
InputStream | getInputStream()Returns the resource's input stream |
URL | getLocation()Returns the URL of this resource |
OutputStream | getOutputStream()Returns the resource's output stream |
String | getShortName()Returns the short name of this resource |
boolean | isDirectory()Returns true if this resource is a directory |
long | lastModified()Retursn the timestamp of last modification of this resource |
void | setShortName(String name)Sets the short name of this resource |
| Method Detail |
public boolean delete()
public boolean exists()
public String getFullName()
public InputStream getInputStream()
throws java.io.IOException
public URL getLocation()
public OutputStream getOutputStream()
throws java.io.IOException
public String getShortName()
public boolean isDirectory()
public long lastModified()
public void setShortName(String name)
throws java.io.IOException
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||