public class SolutionRepositoryVfsFileContent extends Object implements org.apache.commons.vfs2.FileContent
Constructor and Description |
---|
SolutionRepositoryVfsFileContent(SolutionRepositoryVfsFileObject fileObject) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Object |
getAttribute(String arg0) |
String[] |
getAttributeNames() |
Map |
getAttributes() |
Certificate[] |
getCertificates() |
org.apache.commons.vfs2.FileContentInfo |
getContentInfo() |
org.apache.commons.vfs2.FileObject |
getFile() |
InputStream |
getInputStream() |
long |
getLastModifiedTime() |
OutputStream |
getOutputStream() |
OutputStream |
getOutputStream(boolean arg0) |
org.apache.commons.vfs2.RandomAccessContent |
getRandomAccessContent(org.apache.commons.vfs2.util.RandomAccessMode arg0) |
long |
getSize() |
boolean |
hasAttribute(String attrName) |
boolean |
isOpen() |
void |
removeAttribute(String attrName) |
void |
setAttribute(String arg0,
Object arg1) |
void |
setLastModifiedTime(long arg0) |
long |
write(org.apache.commons.vfs2.FileContent output) |
long |
write(org.apache.commons.vfs2.FileObject file) |
long |
write(OutputStream output) |
long |
write(OutputStream output,
int bufferSize) |
public SolutionRepositoryVfsFileContent(SolutionRepositoryVfsFileObject fileObject)
public org.apache.commons.vfs2.FileObject getFile()
getFile
in interface org.apache.commons.vfs2.FileContent
public long getSize() throws org.apache.commons.vfs2.FileSystemException
getSize
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public long getLastModifiedTime() throws org.apache.commons.vfs2.FileSystemException
getLastModifiedTime
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public void setLastModifiedTime(long arg0) throws org.apache.commons.vfs2.FileSystemException
setLastModifiedTime
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public boolean hasAttribute(String attrName)
hasAttribute
in interface org.apache.commons.vfs2.FileContent
public void removeAttribute(String attrName)
removeAttribute
in interface org.apache.commons.vfs2.FileContent
public Map getAttributes() throws org.apache.commons.vfs2.FileSystemException
getAttributes
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public String[] getAttributeNames() throws org.apache.commons.vfs2.FileSystemException
getAttributeNames
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public Object getAttribute(String arg0) throws org.apache.commons.vfs2.FileSystemException
getAttribute
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public void setAttribute(String arg0, Object arg1) throws org.apache.commons.vfs2.FileSystemException
setAttribute
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public Certificate[] getCertificates() throws org.apache.commons.vfs2.FileSystemException
getCertificates
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public InputStream getInputStream() throws org.apache.commons.vfs2.FileSystemException
getInputStream
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public OutputStream getOutputStream() throws org.apache.commons.vfs2.FileSystemException
getOutputStream
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public org.apache.commons.vfs2.RandomAccessContent getRandomAccessContent(org.apache.commons.vfs2.util.RandomAccessMode arg0) throws org.apache.commons.vfs2.FileSystemException
getRandomAccessContent
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public OutputStream getOutputStream(boolean arg0) throws org.apache.commons.vfs2.FileSystemException
getOutputStream
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public void close() throws org.apache.commons.vfs2.FileSystemException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public org.apache.commons.vfs2.FileContentInfo getContentInfo() throws org.apache.commons.vfs2.FileSystemException
getContentInfo
in interface org.apache.commons.vfs2.FileContent
org.apache.commons.vfs2.FileSystemException
public boolean isOpen()
isOpen
in interface org.apache.commons.vfs2.FileContent
public long write(org.apache.commons.vfs2.FileContent output) throws IOException
write
in interface org.apache.commons.vfs2.FileContent
IOException
public long write(org.apache.commons.vfs2.FileObject file) throws IOException
write
in interface org.apache.commons.vfs2.FileContent
IOException
public long write(OutputStream output) throws IOException
write
in interface org.apache.commons.vfs2.FileContent
IOException
public long write(OutputStream output, int bufferSize) throws IOException
write
in interface org.apache.commons.vfs2.FileContent
IOException
Copyright © 2019 Hitachi Vantara. All rights reserved.