org.pentaho.platform.repository.solution.filebased
Class SolutionRepositoryVfsFileContent
java.lang.Object
org.pentaho.platform.repository.solution.filebased.SolutionRepositoryVfsFileContent
- All Implemented Interfaces:
- org.apache.commons.vfs.FileContent
public class SolutionRepositoryVfsFileContent
- extends java.lang.Object
- implements org.apache.commons.vfs.FileContent
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolutionRepositoryVfsFileContent
public SolutionRepositoryVfsFileContent(SolutionRepositoryVfsFileObject fileObject)
getFile
public org.apache.commons.vfs.FileObject getFile()
- Specified by:
getFile
in interface org.apache.commons.vfs.FileContent
getSize
public long getSize()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getSize
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
getLastModifiedTime
public long getLastModifiedTime()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getLastModifiedTime
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
setLastModifiedTime
public void setLastModifiedTime(long arg0)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
setLastModifiedTime
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
hasAttribute
public boolean hasAttribute(java.lang.String attrName)
removeAttribute
public void removeAttribute(java.lang.String attrName)
getAttributes
public java.util.Map getAttributes()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getAttributes
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
getAttributeNames
public java.lang.String[] getAttributeNames()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getAttributeNames
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
getAttribute
public java.lang.Object getAttribute(java.lang.String arg0)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getAttribute
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
setAttribute
public void setAttribute(java.lang.String arg0,
java.lang.Object arg1)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
setAttribute
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
getCertificates
public java.security.cert.Certificate[] getCertificates()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getCertificates
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
getInputStream
public java.io.InputStream getInputStream()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getInputStream
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
getOutputStream
public java.io.OutputStream getOutputStream()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getOutputStream
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
getRandomAccessContent
public org.apache.commons.vfs.RandomAccessContent getRandomAccessContent(org.apache.commons.vfs.util.RandomAccessMode arg0)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getRandomAccessContent
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
getOutputStream
public java.io.OutputStream getOutputStream(boolean arg0)
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getOutputStream
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
close
public void close()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
close
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
getContentInfo
public org.apache.commons.vfs.FileContentInfo getContentInfo()
throws org.apache.commons.vfs.FileSystemException
- Specified by:
getContentInfo
in interface org.apache.commons.vfs.FileContent
- Throws:
org.apache.commons.vfs.FileSystemException
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface org.apache.commons.vfs.FileContent