org.apache.oodt.cas.pushpull.protocol
Class ProtocolFile

java.lang.Object
  extended by org.apache.oodt.cas.pushpull.protocol.ProtocolFile

public class ProtocolFile
extends java.lang.Object

Version:
$Revision$

Describe your class here

.
Author:
bfoster

Field Summary
protected  ProtocolPath path
           
protected  RemoteSite remoteSite
           
 
Constructor Summary
ProtocolFile(RemoteSite remoteSite, ProtocolPath path)
           
 
Method Summary
 boolean equals(java.lang.Object protocolFile)
           
 java.lang.String getHostName()
           
 java.lang.String getName()
           
 ProtocolFile getParentFile()
           
 ProtocolPath getProtocolPath()
           
 RemoteSite getRemoteSite()
           
 java.net.URL getURL()
           
 int hashCode()
           
 boolean isDirectory()
           
 boolean isRelativeToHOME()
           
 void setPath(ProtocolPath path)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

remoteSite

protected RemoteSite remoteSite

path

protected ProtocolPath path
Constructor Detail

ProtocolFile

public ProtocolFile(RemoteSite remoteSite,
                    ProtocolPath path)
Method Detail

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.