org.archive.wayback.resourcestore.resourcefile
Class ResourceFileLocation

java.lang.Object
  extended by org.archive.wayback.resourcestore.resourcefile.ResourceFileLocation

public class ResourceFileLocation
extends Object

Class encapsulating the name and String location(url/path) of a ResourceFile.

Version:
$Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
Author:
brad

Constructor Summary
ResourceFileLocation(String name, String url)
           
 
Method Summary
static ResourceFileLocation deserializeLine(String line)
           
 String getName()
           
 String getUrl()
           
 String serializeLine()
           
 void setName(String name)
           
 void setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFileLocation

public ResourceFileLocation(String name,
                            String url)
Method Detail

serializeLine

public String serializeLine()

deserializeLine

public static ResourceFileLocation deserializeLine(String line)

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getUrl

public String getUrl()
Returns:
the url

setUrl

public void setUrl(String url)
Parameters:
url - the url to set


Copyright © 2005-2011 Internet Archive. All Rights Reserved.