org.jtheque.core.managers.core.io
Class Folders

java.lang.Object
  extended by org.jtheque.core.managers.core.io.Folders
All Implemented Interfaces:
IFoldersContainer

public final class Folders
extends java.lang.Object
implements IFoldersContainer

Give access to the folders of the application.

Author:
Baptiste Wicht

Constructor Summary
Folders()
           
 
Method Summary
 java.io.File getApplicationFolder()
          Return the application folder.
 java.io.File getCacheFolder()
          Return the cacge folder.
 java.io.File getLibrairiesFolder()
          Return the libraries folder.
 java.io.File getLogsFolder()
          Returns the logs folder.
 java.io.File getModulesFolder()
          Return the modules folder.
 java.io.File getSkinsFolder()
          Return the skins folder.
 java.lang.String getTempFolderPath()
          Return the path to the temporary folder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Folders

public Folders()
Method Detail

getApplicationFolder

public java.io.File getApplicationFolder()
Description copied from interface: IFoldersContainer
Return the application folder. It seems the root folder where the application is launched.

Specified by:
getApplicationFolder in interface IFoldersContainer
Returns:
The File object who denotes the application folder.

getSkinsFolder

public java.io.File getSkinsFolder()
Description copied from interface: IFoldersContainer
Return the skins folder. It seems the folder where the skins are located.

Specified by:
getSkinsFolder in interface IFoldersContainer
Returns:
The File object who denotes the skins folder.

getLogsFolder

public java.io.File getLogsFolder()
Description copied from interface: IFoldersContainer
Returns the logs folder. It seems the folder where the logs are located.

Specified by:
getLogsFolder in interface IFoldersContainer
Returns:
the File object who denotes the logs folder.

getLibrairiesFolder

public java.io.File getLibrairiesFolder()
Description copied from interface: IFoldersContainer
Return the libraries folder. It seems the folder where the librairies are located.

Specified by:
getLibrairiesFolder in interface IFoldersContainer
Returns:
The File object who denotes the libraries folder.

getModulesFolder

public java.io.File getModulesFolder()
Description copied from interface: IFoldersContainer
Return the modules folder. It seems the folder where the modules are located.

Specified by:
getModulesFolder in interface IFoldersContainer
Returns:
The File object who denotes the modules folder.

getCacheFolder

public java.io.File getCacheFolder()
Description copied from interface: IFoldersContainer
Return the cacge folder. It seems the folder where the cache are located.

Specified by:
getCacheFolder in interface IFoldersContainer
Returns:
The File object who denotes the cache folder.

getTempFolderPath

public java.lang.String getTempFolderPath()
Description copied from interface: IFoldersContainer
Return the path to the temporary folder.

Specified by:
getTempFolderPath in interface IFoldersContainer
Returns:
The path to the temporary folder.


Copyright © 2009 JTheque. All Rights Reserved.