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 PathfindBeaTunesDirectory()protected abstract PathfindCacheDirectory()protected abstract PathfindDatabaseDirectory()protected abstract PathfindLocalApplicationSupportDirectory()protected abstract PathfindLogDirectory()protected abstract PathfindPluginDirectory()PathgetBaseDirectory()PathgetCacheDirectory()PathgetDatabaseDirectory()PathgetEnvFile()PathgetInetCacheDirectory()static BeaTunesPropertiesgetInstance()PathgetLocalAppSupportDir()PathgetLockFile()PathgetLogDirectory()PathgetLogFile()intgetMajorVersion()intgetMicroVersion()intgetMinorVersion()PathgetPluginDirectory()PathgetPreferencesV1File()PathgetPreferencesV2File()PathgetSystemErrorFile()StringgetUserAgent()StringgetUTMParameters()booleanisSnapshot()
-
-
-
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
-
-