com.soebes.subversion.sapm
Class Path

java.lang.Object
  extended by com.soebes.subversion.sapm.Path

public class Path
extends Object

This class represents a path in the meaning of a folder.

Author:
Karl Heinz Marbaise

Field Summary
private  String path
           
 
Constructor Summary
Path()
           
Path(String path)
           
 
Method Summary
 boolean contains(String path)
          This will check if the given path is part of the path which is represented by this instance.
 String getPath()
           
 void setPath(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

private String path
Constructor Detail

Path

public Path(String path)

Path

public Path()
Method Detail

getPath

public String getPath()

setPath

public void setPath(String path)

contains

public boolean contains(String path)
This will check if the given path is part of the path which is represented by this instance.

Parameters:
path - The path to check for.
Returns:
true if the given path is contained in false otherwise.
See Also:
PathTest}


Copyright © 2010-2011 SoftwareEntwicklung Beratung Schulung. All Rights Reserved.