org.pfsw.tools.beluga.ldap.directory
Class DirectoryDataFile

java.lang.Object
  extended by org.pfsw.tools.beluga.ldap.directory.DirectoryDataFile

public class DirectoryDataFile
extends Object

Specifies the type and location of a file that contains directory data.

Version:
1.0
Author:
M.Duchrow

Field Summary
static String FILE_TYPE_DSML
           
static String FILE_TYPE_LDIF
           
 
Constructor Summary
DirectoryDataFile(org.pf.file.FileLocator locator)
          Initialize the new instance with default values.
 
Method Summary
 void beDSML()
          Changes the file type to be DSML
 void beLDIF()
          Changes the file type to be DSML
 org.pf.file.FileLocator getFileLocator()
           
 String getFileType()
          Returns the file type.
 boolean isDSML()
          Returns true if the file type is currently DSML
 boolean isLDIF()
          Returns true if the file type is currently LDIF
 void setFileType(String newValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_TYPE_LDIF

public static final String FILE_TYPE_LDIF
See Also:
Constant Field Values

FILE_TYPE_DSML

public static final String FILE_TYPE_DSML
See Also:
Constant Field Values
Constructor Detail

DirectoryDataFile

public DirectoryDataFile(org.pf.file.FileLocator locator)
Initialize the new instance with default values.

Method Detail

getFileLocator

public org.pf.file.FileLocator getFileLocator()

getFileType

public String getFileType()
Returns the file type. The default is LDIF.


setFileType

public void setFileType(String newValue)

beDSML

public void beDSML()
Changes the file type to be DSML


beLDIF

public void beLDIF()
Changes the file type to be DSML


isLDIF

public boolean isLDIF()
Returns true if the file type is currently LDIF


isDSML

public boolean isDSML()
Returns true if the file type is currently DSML



Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.