Package com.tagtraum.beatunes
Class BeaTunesProperties
- java.lang.Object
-
- com.tagtraum.beatunes.BeaTunesProperties
-
- Direct Known Subclasses:
OSXBeaTunesProperties
,WinBeaTunesProperties
public abstract class BeaTunesProperties extends Object
BeaTunes properties - mainly file and folder name, version numbers etc.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description BeaTunesProperties()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Path
findBeaTunesDirectory()
protected abstract Path
findCacheDirectory()
protected abstract Path
findDatabaseDirectory()
protected abstract Path
findLocalApplicationSupportDirectory()
protected abstract Path
findLogDirectory()
protected abstract Path
findPluginDirectory()
Path
getBaseDirectory()
Path
getCacheDirectory()
Path
getDatabaseDirectory()
Path
getEnvFile()
Path
getInetCacheDirectory()
static BeaTunesProperties
getInstance()
Path
getLocalAppSupportDir()
Path
getLockFile()
Path
getLogDirectory()
Path
getLogFile()
int
getMajorVersion()
int
getMicroVersion()
int
getMinorVersion()
Path
getPluginDirectory()
Path
getPreferencesV1File()
Path
getPreferencesV2File()
Path
getSystemErrorFile()
String
getUserAgent()
String
getUTMParameters()
boolean
isSnapshot()
-
-
-
Constructor Detail
-
BeaTunesProperties
public BeaTunesProperties() throws IOException
- Throws:
IOException
-
-
Method Detail
-
getInstance
public static BeaTunesProperties getInstance() throws IOException
- Throws:
IOException
-
getUTMParameters
public String getUTMParameters()
-
getUserAgent
public String getUserAgent()
-
isSnapshot
public boolean isSnapshot()
-
getMajorVersion
public int getMajorVersion()
-
getMicroVersion
public int getMicroVersion()
-
getMinorVersion
public int getMinorVersion()
-
getBaseDirectory
public Path getBaseDirectory()
-
getCacheDirectory
public Path getCacheDirectory()
-
getDatabaseDirectory
public Path getDatabaseDirectory()
-
getLocalAppSupportDir
public Path getLocalAppSupportDir()
-
getLogDirectory
public Path getLogDirectory()
-
getPluginDirectory
public Path getPluginDirectory()
-
getLogFile
public Path getLogFile()
-
getEnvFile
public Path getEnvFile()
-
getSystemErrorFile
public Path getSystemErrorFile()
-
getPreferencesV1File
public Path getPreferencesV1File()
-
getPreferencesV2File
public Path getPreferencesV2File()
-
getInetCacheDirectory
public Path getInetCacheDirectory()
-
getLockFile
public Path getLockFile()
-
findLocalApplicationSupportDirectory
protected abstract Path findLocalApplicationSupportDirectory()
-
findBeaTunesDirectory
protected abstract Path findBeaTunesDirectory() throws IOException
- Throws:
IOException
-
findCacheDirectory
protected abstract Path findCacheDirectory() throws IOException
- Throws:
IOException
-
findLogDirectory
protected abstract Path findLogDirectory() throws IOException
- Throws:
IOException
-
findPluginDirectory
protected abstract Path findPluginDirectory() throws IOException
- Throws:
IOException
-
findDatabaseDirectory
protected abstract Path findDatabaseDirectory() throws IOException
- Throws:
IOException
-
-