eu.unicore.hila
Class Location

java.lang.Object
  extended by eu.unicore.hila.Location

public class Location
extends Object


Constructor Summary
Location(String stringLocation)
           
Location(URI uri)
           
 
Method Summary
 boolean equals(Object obj)
           
 Location getChildLocation(String childPath)
           
 Class<Resource> getLocationType()
           
 String getName()
           
 Location getParentLocation()
           
 CharSequence getStringValue()
           
 String getUser()
           
 int hashCode()
           
 boolean isAbsolute()
           
 boolean isLocationOfType(Class type)
           
 Resource locate(Object... extraInformation)
           
 String relativePath(Location _other)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(String stringLocation)
         throws HiLALocationSyntaxException
Throws:
HiLALocationSyntaxException

Location

public Location(URI uri)
Method Detail

getParentLocation

public Location getParentLocation()

getLocationType

public Class<Resource> getLocationType()

isLocationOfType

public boolean isLocationOfType(Class type)

isAbsolute

public boolean isAbsolute()

locate

public Resource locate(Object... extraInformation)
                throws HiLAException
Throws:
HiLAException

getStringValue

public CharSequence getStringValue()
Returns:

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

getChildLocation

public Location getChildLocation(String childPath)
                          throws HiLALocationSyntaxException
Parameters:
childPath -
Returns:
Throws:
HiLALocationSyntaxException

getName

public String getName()

relativePath

public String relativePath(Location _other)

getUser

public String getUser()
Returns:


Copyright © 2010-2013 UNICORE. All Rights Reserved.