de.unihalle.informatik.Alida.datatypes
Class ALDDirectoryString

java.lang.Object
  extended by de.unihalle.informatik.Alida.datatypes.ALDDirectoryString

public class ALDDirectoryString
extends java.lang.Object

Class for representing a directory path.

The purpose of this class is mainly to simplify data IO for string variables linked to a directory path when running operators from GUI. In contrast to java.lang.String for this class specific data IO providers are provided that offer the user with directory chooser dialogs.

Author:
moeller

Field Summary
protected  java.lang.String dirPath
          Name of directory including full path.
 
Constructor Summary
ALDDirectoryString(java.lang.String dir)
          Default constructor.
 
Method Summary
 java.lang.String getDirectoryName()
          Returns current name of directory.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dirPath

protected java.lang.String dirPath
Name of directory including full path.

Constructor Detail

ALDDirectoryString

public ALDDirectoryString(java.lang.String dir)
Default constructor.

Parameters:
dir - Name of directory including path.
Method Detail

getDirectoryName

public java.lang.String getDirectoryName()
Returns current name of directory.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010-2014 Martin Luther University Halle-Wittenberg. All Rights Reserved.