public class CachingSessionFactory.CachedSession extends java.lang.Object implements Session<F>
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
dirty() |
boolean |
exists(java.lang.String path) |
boolean |
finalizeRaw()
Invoke after closing the InputStream from
Session.readRaw(String) . |
boolean |
isOpen() |
F[] |
list(java.lang.String path) |
java.lang.String[] |
listNames(java.lang.String path) |
boolean |
mkdir(java.lang.String directory) |
void |
read(java.lang.String source,
java.io.OutputStream os) |
java.io.InputStream |
readRaw(java.lang.String source)
Retrieve a remote file as a raw
InputStream . |
boolean |
remove(java.lang.String path) |
void |
rename(java.lang.String pathFrom,
java.lang.String pathTo) |
void |
write(java.io.InputStream inputStream,
java.lang.String destination) |
public boolean remove(java.lang.String path) throws java.io.IOException
public F[] list(java.lang.String path) throws java.io.IOException
public void read(java.lang.String source, java.io.OutputStream os) throws java.io.IOException
public void write(java.io.InputStream inputStream, java.lang.String destination) throws java.io.IOException
public void rename(java.lang.String pathFrom, java.lang.String pathTo) throws java.io.IOException
public boolean mkdir(java.lang.String directory) throws java.io.IOException
public boolean exists(java.lang.String path) throws java.io.IOException
public java.lang.String[] listNames(java.lang.String path) throws java.io.IOException
public java.io.InputStream readRaw(java.lang.String source) throws java.io.IOException
Session
InputStream
.public boolean finalizeRaw() throws java.io.IOException
Session
Session.readRaw(String)
.
Required by some session providers.finalizeRaw
in interface Session<F>
java.io.IOException
public void dirty()