org.apache.oodt.cas.pushpull.protocol
Class ProtocolFile
java.lang.Object
org.apache.oodt.cas.pushpull.protocol.ProtocolFile
public class ProtocolFile
- extends Object
- Version:
- $Revision$
Describe your class here
.
- Author:
- bfoster
remoteSite
protected RemoteSite remoteSite
path
protected ProtocolPath path
ProtocolFile
public ProtocolFile(RemoteSite remoteSite,
ProtocolPath path)
getParentFile
public ProtocolFile getParentFile()
throws MalformedURLException
- Throws:
MalformedURLException
getName
public String getName()
isDirectory
public boolean isDirectory()
isRelativeToHOME
public boolean isRelativeToHOME()
getHostName
public String getHostName()
getURL
public URL getURL()
getProtocolPath
public ProtocolPath getProtocolPath()
setPath
public void setPath(ProtocolPath path)
getRemoteSite
public RemoteSite getRemoteSite()
equals
public boolean equals(Object protocolFile)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 1999-2011 Apache Incubator. All Rights Reserved.