Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enhydra.tool.common
Class PathHandle  view PathHandle download PathHandle.java

java.lang.Object
  extended byorg.enhydra.tool.common.PathHandle

public class PathHandle
extends java.lang.Object


Field Summary
private  java.lang.String path
           
 
Constructor Summary
PathHandle()
           
 
Method Summary
static PathHandle createPathHandle(java.io.File inFile)
           
static PathHandle createPathHandle(java.lang.String inPath)
           
static java.lang.String createPathString(java.io.File inFile)
           
static java.lang.String createPathString(java.lang.String inPath)
           
 boolean endsWith(java.lang.String inPath)
           
 boolean equals(PathHandle compare)
           
 boolean equals(java.lang.String comparePath)
           
private  java.lang.String getComparePath()
           
 java.lang.String getExtension()
           
 java.io.File getFile()
           
 PathHandle getParent()
           
 java.lang.String getPath()
           
 boolean hasExtension(java.lang.String ext)
           
 boolean hasExtension(java.lang.String[] exts)
           
 boolean isDirectory()
           
 boolean isFile()
           
private  boolean isWindows()
           
 boolean parentOf(java.io.File childFile)
           
 boolean parentOf(PathHandle childHandle)
           
 boolean parentOf(java.lang.String childPath)
           
 void setPath(java.lang.String inPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

private java.lang.String path
Constructor Detail

PathHandle

public PathHandle()
Method Detail

createPathHandle

public static PathHandle createPathHandle(java.io.File inFile)

createPathHandle

public static PathHandle createPathHandle(java.lang.String inPath)

createPathString

public static java.lang.String createPathString(java.lang.String inPath)

createPathString

public static java.lang.String createPathString(java.io.File inFile)

isFile

public boolean isFile()

isDirectory

public boolean isDirectory()

getParent

public PathHandle getParent()

getFile

public java.io.File getFile()

setPath

public void setPath(java.lang.String inPath)

getPath

public java.lang.String getPath()

parentOf

public boolean parentOf(java.io.File childFile)

parentOf

public boolean parentOf(java.lang.String childPath)

parentOf

public boolean parentOf(PathHandle childHandle)

equals

public boolean equals(java.lang.String comparePath)

equals

public boolean equals(PathHandle compare)

hasExtension

public boolean hasExtension(java.lang.String[] exts)

hasExtension

public boolean hasExtension(java.lang.String ext)

endsWith

public boolean endsWith(java.lang.String inPath)

getExtension

public java.lang.String getExtension()

getComparePath

private java.lang.String getComparePath()

isWindows

private boolean isWindows()