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