org.egothor.util
Class Htaccess

java.lang.Object
  extended by org.egothor.util.Htaccess

public class Htaccess
extends java.lang.Object

This class can read Apache htaccess files and access some parameters in them.

Author:
galambos

Constructor Summary
Htaccess()
          Creates a new instance of Htaccess with some default values.
Htaccess(Htaccess parent)
          Creates a new instance of Htaccess as a clone of some (upper) Htaccess.
 
Method Summary
 java.lang.String getValue(java.lang.String directive, java.lang.String object)
          Returns the respective value of the directive for the given object (it may be null).
 void load(DataInput in)
          Loads the stream of some htaccess file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Htaccess

public Htaccess()
Creates a new instance of Htaccess with some default values.


Htaccess

public Htaccess(Htaccess parent)
Creates a new instance of Htaccess as a clone of some (upper) Htaccess.

Method Detail

getValue

public java.lang.String getValue(java.lang.String directive,
                                 java.lang.String object)
Returns the respective value of the directive for the given object (it may be null).


load

public void load(DataInput in)
Loads the stream of some htaccess file.