public class RARFileObject
extends org.apache.commons.vfs2.provider.AbstractFileObject
implements org.apache.commons.vfs2.FileObject
| Modifier and Type | Field and Description |
|---|---|
protected Archive |
archive
The TFile.
|
protected FileHeader |
header |
| Modifier | Constructor and Description |
|---|---|
protected |
RARFileObject(org.apache.commons.vfs2.provider.AbstractFileName name,
Archive archive,
FileHeader header,
RARFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
void |
attachChild(org.apache.commons.vfs2.FileName childName)
Attaches a child.
|
protected long |
doGetContentSize() |
protected InputStream |
doGetInputStream() |
protected long |
doGetLastModifiedTime() |
protected org.apache.commons.vfs2.FileType |
doGetType() |
boolean |
doIsWriteable() |
protected String[] |
doListChildren() |
void |
setHeader(FileHeader header) |
canRenameTo, childrenChanged, close, copyFrom, createFile, createFolder, delete, delete, doAttach, doCreateFileContent, doCreateFolder, doDelete, doDetach, doGetAttributes, doGetCertificates, doGetOutputStream, doGetRandomAccessContent, doIsHidden, doIsReadable, doIsSameFile, doListChildrenResolved, doRemoveAttribute, doRename, doSetAttribute, doSetLastModifiedTime, endOutput, exists, finalize, findFiles, findFiles, getChild, getChildren, getContent, getFileContentInfoFactory, getFileOperations, getFileSystem, getInputStream, getName, getOutputStream, getOutputStream, getParent, getRandomAccessContent, getType, getURL, handleChanged, handleCreate, handleDelete, holdObject, injectType, isAttached, isContentOpen, isHidden, isReadable, isSameFile, isWriteable, moveTo, notifyAllStreamsClosed, onChange, onChildrenChanged, refresh, resolveFile, resolveFile, toStringclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcanRenameTo, close, copyFrom, createFile, createFolder, delete, delete, exists, findFiles, findFiles, getChild, getChildren, getContent, getFileOperations, getFileSystem, getName, getParent, getType, getURL, isAttached, isContentOpen, isHidden, isReadable, isWriteable, moveTo, refresh, resolveFile, resolveFileprotected Archive archive
protected FileHeader header
protected RARFileObject(org.apache.commons.vfs2.provider.AbstractFileName name,
Archive archive,
FileHeader header,
RARFileSystem fs)
throws org.apache.commons.vfs2.FileSystemException
org.apache.commons.vfs2.FileSystemExceptionpublic boolean doIsWriteable()
throws org.apache.commons.vfs2.FileSystemException
doIsWriteable in class org.apache.commons.vfs2.provider.AbstractFileObjectorg.apache.commons.vfs2.FileSystemExceptionprotected org.apache.commons.vfs2.FileType doGetType()
doGetType in class org.apache.commons.vfs2.provider.AbstractFileObjectprotected String[] doListChildren()
doListChildren in class org.apache.commons.vfs2.provider.AbstractFileObjectprotected long doGetContentSize()
doGetContentSize in class org.apache.commons.vfs2.provider.AbstractFileObjectprotected long doGetLastModifiedTime()
throws Exception
doGetLastModifiedTime in class org.apache.commons.vfs2.provider.AbstractFileObjectExceptionprotected InputStream doGetInputStream() throws Exception
doGetInputStream in class org.apache.commons.vfs2.provider.AbstractFileObjectExceptionpublic void attachChild(org.apache.commons.vfs2.FileName childName)
childName - The name of the child.public void setHeader(FileHeader header)
Copyright © 2017. All rights reserved.