org.gerhardb.jibs.camera
Class CameraPreferences

java.lang.Object
  extended by org.gerhardb.jibs.camera.CameraPreferences

public class CameraPreferences
extends java.lang.Object

Wraps the preferences used by the viewer and provides an way of editing the preferences.

Author:
Gerhard Beck

Method Summary
static void flush()
           
static java.lang.String getAddDirectory()
           
static boolean getExifRenaming()
           
static java.lang.String getLogDirectory()
           
static int getLogNumber()
           
static int getNextLogNumber()
           
static int getRelabelNumber()
           
static boolean getUniqueRenamingCamera()
           
static void setAddDirectory(java.io.File dir)
          Set the Add Directory to this directory.
static void setAddDirectoryParent(java.io.File dir)
          Set the Add Directory to the parent of this directory.
static void setExifRenaming(boolean setting)
           
static void setLogDirectory(java.lang.String dir)
           
static void setLogNumber(int setting)
           
static void setRelabelNumber(int setting)
           
static void setUniqueRenamingCamera(boolean setting)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogDirectory

public static java.lang.String getLogDirectory()
Returns:
null if not correctly set.

setLogDirectory

public static void setLogDirectory(java.lang.String dir)

getLogNumber

public static int getLogNumber()

getNextLogNumber

public static int getNextLogNumber()

setLogNumber

public static void setLogNumber(int setting)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getRelabelNumber

public static int getRelabelNumber()

setRelabelNumber

public static void setRelabelNumber(int setting)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getUniqueRenamingCamera

public static boolean getUniqueRenamingCamera()

setUniqueRenamingCamera

public static void setUniqueRenamingCamera(boolean setting)

getExifRenaming

public static boolean getExifRenaming()

setExifRenaming

public static void setExifRenaming(boolean setting)

getAddDirectory

public static java.lang.String getAddDirectory()

setAddDirectory

public static void setAddDirectory(java.io.File dir)
Set the Add Directory to this directory.

Parameters:
dir -

setAddDirectoryParent

public static void setAddDirectoryParent(java.io.File dir)
Set the Add Directory to the parent of this directory. Use getAddDirectory() to get the value set.

Parameters:
dir -

flush

public static void flush()


Copyright ? 2007 Gerhard Beck. All rights reserved. Subject to GPL.