Package adalid.util.meta.sql
Class MetaFolderSql
- java.lang.Object
-
- adalid.util.meta.sql.MetaFolderSql
-
public class MetaFolderSql extends java.lang.Object- Author:
- Jorge Campins
-
-
Constructor Summary
Constructors Constructor Description MetaFolderSql(java.lang.String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetBaseFolder()java.nio.file.PathgetBaseFolderPath()java.util.Map<java.nio.file.Path,FileWrapper>getFiles()java.util.Map<java.lang.String,java.lang.Integer>getFileTypes()java.util.Map<java.nio.file.Path,FolderWrapper>getFolders()java.io.FilegetMetaFolder()java.nio.file.PathgetMetaFolderPath()FolderWrappergetMetaFolderWrapper()intgetReadingErrors()intgetReadingWarnings()java.io.FilegetRootFolder()java.nio.file.PathgetRootFolderPath()booleanread()voidwrite()
-
-
-
Method Detail
-
read
public boolean read()
-
getRootFolder
public java.io.File getRootFolder()
- Returns:
- the root folder
-
getRootFolderPath
public java.nio.file.Path getRootFolderPath()
- Returns:
- the root folder path
-
getMetaFolder
public java.io.File getMetaFolder()
- Returns:
- the meta folder
-
getMetaFolderPath
public java.nio.file.Path getMetaFolderPath()
- Returns:
- the meta folder path
-
getMetaFolderWrapper
public FolderWrapper getMetaFolderWrapper()
- Returns:
- the meta folder wrapper
-
getBaseFolder
public java.io.File getBaseFolder()
- Returns:
- the base folder
-
getBaseFolderPath
public java.nio.file.Path getBaseFolderPath()
- Returns:
- the base folder path
-
getReadingWarnings
public int getReadingWarnings()
- Returns:
- the reading warnings count
-
getReadingErrors
public int getReadingErrors()
- Returns:
- the reading errors count
-
getFiles
public java.util.Map<java.nio.file.Path,FileWrapper> getFiles()
- Returns:
- the files map
-
getFolders
public java.util.Map<java.nio.file.Path,FolderWrapper> getFolders()
- Returns:
- the file folders map
-
getFileTypes
public java.util.Map<java.lang.String,java.lang.Integer> getFileTypes()
- Returns:
- the file types map
-
write
public void write()
-
-