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 Object
- implements org.apache.commons.vfs.FileContent
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(String attrName)
removeAttribute
public void removeAttribute(String attrName)
getAttributes
public 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 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 Object getAttribute(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(String arg0,
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 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 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 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 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