Class FileName
java.lang.Object
com.semedy.reasoner.edb.persistentstore.FileName
A filename for a relation may look like: <filepath>/<name>_<arity>[(<number>)].suffix
- Author:
- angele
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetArity()return the file path in edb directorygetEDBDirPath(String suffix) return the file path in edb directorygetFileName(String suffix) getFileNameWithoutIndex(String suffix) intreturn the numbergetPath()int[]getTempDirPath(String suffix) return the file path in temporary directorystatic FileNameparseFileName(String filename) voidtoString()
-
Constructor Details
-
FileName
-
FileName
-
FileName
-
FileName
public FileName() -
FileName
-
FileName
-
-
Method Details
-
setDirs
-
getEDBDir
-
getTempDir
-
getPositions
public int[] getPositions() -
parseFileName
-
getPath
- Returns:
- the _fullPath
-
getPredicateSymbol
- Returns:
- the _name
-
getFullQualifiedPredicateSymbol
- Returns:
- the _name
-
getArity
public int getArity()- Returns:
- the _arity
-
getSuffix
- Returns:
- the _suffix
-
getPrefix
- Returns:
- the _suffix
-
getNumber
public int getNumber()return the number- Returns:
-
getTempDirPath
return the file path in temporary directory- Returns:
-
getEDBDirPath
return the file path in edb directory- Returns:
-
getDatafilePath
return the file path in edb directory- Returns:
-
getTreeFilePath
-
getFileNameWithoutIndex
-
getFileName
-
toString
-