public class CmisAtomFileObject extends org.apache.commons.vfs2.provider.AbstractFileObject<CmisAtomFileSystem>
Modifier | Constructor and Description |
---|---|
protected |
CmisAtomFileObject(org.apache.commons.vfs2.provider.AbstractFileName name,
CmisAtomFileSystem fileSystem) |
Modifier and Type | Method and Description |
---|---|
protected void |
doAttach()
Attaches this file object to its file resource.
|
protected void |
doDetach() |
protected long |
doGetContentSize()
Returns the size of the file content (in bytes).
|
protected InputStream |
doGetInputStream()
Creates an input stream to read the file content from.
|
protected long |
doGetLastModifiedTime()
Returns the last modified time of this file.
|
protected org.apache.commons.vfs2.FileType |
doGetType()
Determines the type of the file, returns null if the file does not exist.
|
protected String[] |
doListChildren()
Lists the children of the file.
|
Document |
getDocument() |
CmisAtomFileSystem |
getFileSystem() |
CmisAtomSession |
getSession() |
String |
toXmlString() |
canRenameTo, childrenChanged, close, compareTo, copyFrom, createFile, createFolder, delete, delete, deleteAll, doCreateFileContent, doCreateFolder, doDelete, doGetAttributes, doGetCertificates, doGetOutputStream, doGetRandomAccessContent, doIsExecutable, doIsHidden, doIsReadable, doIsSameFile, doIsWriteable, doListChildrenResolved, doRemoveAttribute, doRename, doSetAttribute, doSetExecutable, doSetLastModifiedTime, doSetReadable, doSetWritable, endOutput, exists, finalize, findFiles, findFiles, getAbstractFileSystem, getChild, getChildren, getContent, getFileContentInfoFactory, getFileOperations, getInputStream, getName, getOutputStream, getOutputStream, getParent, getPublicURIString, getRandomAccessContent, getType, getURL, handleChanged, handleCreate, handleDelete, holdObject, injectType, isAttached, isContentOpen, isExecutable, isFile, isFolder, isHidden, isReadable, isSameFile, isWriteable, iterator, listFiles, moveTo, notifyAllStreamsClosed, onChange, onChildrenChanged, refresh, resolveFile, resolveFile, setExecutable, setReadable, setWritable, toString
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected CmisAtomFileObject(org.apache.commons.vfs2.provider.AbstractFileName name, CmisAtomFileSystem fileSystem)
public CmisAtomSession getSession()
protected void doAttach() throws Exception
doAttach
in class org.apache.commons.vfs2.provider.AbstractFileObject<CmisAtomFileSystem>
Exception
protected void doDetach() throws Exception
doDetach
in class org.apache.commons.vfs2.provider.AbstractFileObject<CmisAtomFileSystem>
Exception
public CmisAtomFileSystem getFileSystem()
getFileSystem
in interface org.apache.commons.vfs2.FileObject
getFileSystem
in class org.apache.commons.vfs2.provider.AbstractFileObject<CmisAtomFileSystem>
public Document getDocument()
public String toXmlString()
protected org.apache.commons.vfs2.FileType doGetType() throws Exception
doGetType
in class org.apache.commons.vfs2.provider.AbstractFileObject<CmisAtomFileSystem>
Exception
protected String[] doListChildren() throws Exception
doGetType()
returns FileType.FOLDER
.doListChildren
in class org.apache.commons.vfs2.provider.AbstractFileObject<CmisAtomFileSystem>
Exception
protected long doGetContentSize() throws Exception
doGetContentSize
in class org.apache.commons.vfs2.provider.AbstractFileObject<CmisAtomFileSystem>
Exception
protected long doGetLastModifiedTime() throws Exception
doGetLastModifiedTime
in class org.apache.commons.vfs2.provider.AbstractFileObject<CmisAtomFileSystem>
Exception
protected InputStream doGetInputStream() throws Exception
doGetInputStream
in class org.apache.commons.vfs2.provider.AbstractFileObject<CmisAtomFileSystem>
Exception
Copyright © 2014–2023 Norconex Inc.. All rights reserved.