public class LargeFileSystemConnector extends FileSystemConnector
Connector.ExtraPropertiesDEFAULT_PAGE_SIZEDEFAULT_ROOT_ID| Constructor and Description |
|---|
LargeFileSystemConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected ExternalBinaryValue |
createBinaryValue(File file)
Utility method to create a
BinaryValue object for the given file overriding FileSystemConnector. |
acceptFile, binaryFor, checkFileNotExcluded, contentBasedSha1, contentChildId, createFileForUrl, createUrlForFile, fileFor, getBinaryValue, getChildren, getDocumentById, getDocumentId, getDocumentPathsById, hasDocument, idFor, initialize, isContentNode, isExcluded, isRoot, newDocumentId, removeDocument, sha1, shutdown, storeDocument, updateDocument, writerForisReadonlycheckFieldNotNull, extraPropertiesFor, extraPropertiesStore, factories, getChildReference, getContext, getEnvironment, getLogger, getMimeTypeDetector, getRepositoryName, getRootDocumentId, getSourceName, getTransactionManager, isCacheable, isQueryable, log, moveExtraProperties, nameFrom, nameFrom, nameFrom, newChildReference, newConnectorChangedSet, newDocument, newPageDocument, pathFactory, pathFrom, pathFrom, propertyFactory, readDocument, setExtraPropertiesStore, translator, writeDocumentprotected ExternalBinaryValue createBinaryValue(File file) throws IOException
BinaryValue object for the given file overriding FileSystemConnector. Subclasses should
rarely override this method, since the UrlBinaryValue will be applicable in most situations, but in this subclass
is overriding using FileUrlBinaryValue to lazily compute a contentBased Hash when the key is a URI based Hash.
Option contentBasedSha1=false should only be used in "write-once" directories as modifying the file will not change stored
hashcreateBinaryValue in class FileSystemConnectorfile - the file for which the BinaryValue is to be created; never nullIOException - if there is an error creating the valueCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.