public class FileAccessor extends Observable
Constructor and Description |
---|
FileAccessor(LifecycleManager manager,
File file) |
Modifier and Type | Method and Description |
---|---|
int |
getAccessCount() |
javax.activation.DataHandler |
getDataHandler(String contentType)
Deprecated.
This method is no longer used in Axiom 1.2.13 and will be removed in Axiom 1.3.
|
File |
getFile() |
String |
getFileName() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
long |
getSize() |
void |
setFile(File file) |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public FileAccessor(LifecycleManager manager, File file)
public javax.activation.DataHandler getDataHandler(String contentType)
public String getFileName()
public InputStream getInputStream() throws IOException
IOException
public OutputStream getOutputStream() throws FileNotFoundException
FileNotFoundException
public long getSize()
public File getFile()
public void setFile(File file)
public int getAccessCount()
Copyright © The Apache Software Foundation. All Rights Reserved.