Package io.datarouter.storage.file
Class PathbeanKey
java.lang.Object
io.datarouter.model.field.BaseFieldSet<K>
io.datarouter.model.key.BaseKey<K>
io.datarouter.model.key.unique.BaseUniqueKey<PK>
io.datarouter.model.key.primary.BasePrimaryKey<PK>
io.datarouter.model.key.primary.base.BaseRegularPrimaryKey<PathbeanKey>
io.datarouter.storage.file.PathbeanKey
- All Implemented Interfaces:
io.datarouter.model.field.FieldSet<PathbeanKey>,io.datarouter.model.key.entity.EntityKey<PathbeanKey>,io.datarouter.model.key.Key<PathbeanKey>,io.datarouter.model.key.primary.EntityPrimaryKey<PathbeanKey,,PathbeanKey> io.datarouter.model.key.primary.PrimaryKey<PathbeanKey>,io.datarouter.model.key.primary.RegularPrimaryKey<PathbeanKey>,io.datarouter.model.key.unique.UniqueKey<PathbeanKey>,io.datarouter.model.serialize.fielder.Fielder<PathbeanKey>,io.datarouter.model.serialize.fielder.PrimaryKeyFielder<PathbeanKey>,Comparable<io.datarouter.model.field.FieldSet<PathbeanKey>>
public class PathbeanKey
extends io.datarouter.model.key.primary.base.BaseRegularPrimaryKey<PathbeanKey>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.datarouter.model.key.BaseKey
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<io.datarouter.model.field.Field<?>>getFile()getPath()static final booleanisValidFile(String file, boolean allowEmptyFile) static final booleanisValidPath(String path) static PathbeanKeystatic PathbeanKeystatic PathbeanKeystatic PathbeanKeyofAllowEmptyFile(String pathAndFile) toString()Methods inherited from class io.datarouter.model.key.primary.base.BaseRegularPrimaryKey
getEntityKey, getEntityKeyFields, getPostEntityKeyFields, prefixFromEntityKeyMethods inherited from class io.datarouter.model.field.BaseFieldSet
compareTo, equals, getFieldNames, getFields, getFieldValue, getFieldValues, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface io.datarouter.model.serialize.fielder.Fielder
getFieldsMethods inherited from interface io.datarouter.model.field.FieldSet
getFieldNames, getFieldValue, getFieldValues
-
Constructor Details
-
PathbeanKey
public PathbeanKey() -
PathbeanKey
-
-
Method Details
-
getFields
-
ofAllowEmptyFile
-
of
-
of
-
of
-
isValidPath
-
isValidFile
-
getPathAndFile
-
getPath
-
getFile
-
findFirstPathSegment
-
getPathSegments
-
getSubpath
-
toString
- Overrides:
toStringin classio.datarouter.model.field.BaseFieldSet<PathbeanKey>
-