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