|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalDestFile
Method Summary | |
---|---|
LocalDestFile |
getChild(String name)
|
OutputStream |
getOutputStream()
|
LocalDestFile |
getTargetDirectory(String dirname)
Allows caller to express intent that caller expects to write to directory with dirname . |
LocalDestFile |
getTargetFile(String filename)
Allows caller to express intent that caller expects to write to file with filename . |
void |
setLastAccessedTime(long t)
Set the last access time for the underlying file. |
void |
setLastModifiedTime(long t)
Set the last modified time for the underlying file. |
void |
setPermissions(int perms)
Set the permissions for the underlying file. |
Method Detail |
---|
OutputStream getOutputStream() throws IOException
IOException
LocalDestFile getChild(String name)
name
.LocalDestFile getTargetFile(String filename) throws IOException
filename
. Based on this
information, an implementation may return an alternate file to write to, which should be respected by the
caller.
IOException
LocalDestFile getTargetDirectory(String dirname) throws IOException
dirname
. Based on this
information, an implementation may return an alternate directory to write to, which should be respected by the
caller.
IOException
void setPermissions(int perms) throws IOException
perms
- permissions e.g. 0644
IOException
void setLastAccessedTime(long t) throws IOException
t
- time in seconds since Unix epoch
IOException
void setLastModifiedTime(long t) throws IOException
t
- time in seconds since Unix epoch
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |