com.atlassian.fisheye.spi.admin.data
Class CaseAwarePath

java.lang.Object
  extended by com.atlassian.fisheye.spi.admin.data.CaseAwarePath

public class CaseAwarePath
extends java.lang.Object

A case aware path.


Constructor Summary
CaseAwarePath(CaseAwarePath other)
           
CaseAwarePath(java.lang.String path)
          Create a case insensitive path.
CaseAwarePath(java.lang.String path, boolean caseSensitive)
          Create a path with the specified case sensitivity.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getPath()
           
 int hashCode()
           
 boolean isCaseSensitive()
           
 void setCaseSensitive(boolean caseSensitive)
           
 void setPath(java.lang.String path)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaseAwarePath

public CaseAwarePath(java.lang.String path)
Create a case insensitive path.

Throws:
java.lang.NullPointerException - if path is null

CaseAwarePath

public CaseAwarePath(java.lang.String path,
                     boolean caseSensitive)
Create a path with the specified case sensitivity.

Throws:
java.lang.NullPointerException - if path is null

CaseAwarePath

public CaseAwarePath(CaseAwarePath other)
Method Detail

getPath

public java.lang.String getPath()

setPath

public void setPath(java.lang.String path)
Throws:
java.lang.NullPointerException - if path is null

isCaseSensitive

public boolean isCaseSensitive()

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)

toString

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object