de.unihalle.informatik.Alida.datatypes
Class ALDDirectoryString

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

public class ALDDirectoryString
extends 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  String dirPath
          Name of directory including full path.
 
Constructor Summary
ALDDirectoryString(String dir)
          Default constructor.
 
Method Summary
 String getDirectoryName()
          Returns current name of directory.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dirPath

protected String dirPath
Name of directory including full path.

Constructor Detail

ALDDirectoryString

public ALDDirectoryString(String dir)
Default constructor.

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

getDirectoryName

public String getDirectoryName()
Returns current name of directory.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010–2014 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.