info.aduna.platform.support
Class PosixPlatform

java.lang.Object
  extended by info.aduna.platform.PlatformBase
      extended by info.aduna.platform.support.PosixPlatform
All Implemented Interfaces:
Platform
Direct Known Subclasses:
MacOSXPlatform, PosixGnomePlatform, PosixKDEPlatform

public class PosixPlatform
extends PlatformBase

Platform implementation for *nix platforms.


Field Summary
 
Fields inherited from class info.aduna.platform.PlatformBase
colonReplacement, separatorReplacement, whitespaceReplacement
 
Fields inherited from interface info.aduna.platform.Platform
APPDATA_BASEDIR_PROPERTY, OLD_DATADIR_PROPERTY
 
Constructor Summary
PosixPlatform()
           
 
Method Summary
 boolean dataDirPreserveCase()
           
 boolean dataDirReplaceColon()
           
 boolean dataDirReplaceWhitespace()
           
 String getName()
          Get a descriptive name for this platform.
 File getOSApplicationDataDir()
          Returns the operating system dependend application data dir.
 
Methods inherited from class info.aduna.platform.PlatformBase
getApplicationDataDir, getApplicationDataDir, getOSApplicationDataDir, getRelativeApplicationDataDir, getRelativeApplicationDataDir, getUserHome
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PosixPlatform

public PosixPlatform()
Method Detail

getName

public String getName()
Description copied from interface: Platform
Get a descriptive name for this platform.


getOSApplicationDataDir

public File getOSApplicationDataDir()
Description copied from interface: Platform
Returns the operating system dependend application data dir.


dataDirPreserveCase

public boolean dataDirPreserveCase()

dataDirReplaceWhitespace

public boolean dataDirReplaceWhitespace()

dataDirReplaceColon

public boolean dataDirReplaceColon()


Copyright © 1997-2008 Aduna. All Rights Reserved.