Class HashFileMap
java.lang.Object
org.moeaframework.analysis.store.fs.FileMap
org.moeaframework.analysis.store.fs.HashFileMap
- All Implemented Interfaces:
Defined
File map that hashes the reference to create a flat folder structure. An optional prefix is used at the top-level
to help organize the containers.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.moeaframework.core.Defined
Defined.ConstructorComparator
-
Constructor Summary
ConstructorDescriptionHashFileMap
(int prefixLength) Constructs a hash file map with the given prefix length. -
Method Summary
Modifier and TypeMethodDescriptionReturns the string representation, or definition, of this object.mapContainer
(Schema schema, Path root, Reference reference) Methods inherited from class org.moeaframework.analysis.store.fs.FileMap
escapePath, mapBlob, updateManifest
-
Constructor Details
-
HashFileMap
public HashFileMap(int prefixLength) Constructs a hash file map with the given prefix length.- Parameters:
prefixLength
- if> 0
, the length of the prefix; if0
, no prefix folder is created
-
-
Method Details
-
mapContainer
- Throws:
IOException
-
getDefinition
Description copied from interface:Defined
Returns the string representation, or definition, of this object.- Returns:
- the definition
-