public class VizResource extends ICEResource
iComponentListener
Constructor and Description |
---|
VizResource()
Comprehensive constructor
|
VizResource(java.io.File resourceFile)
An alternative constructor that takes a File as input.
|
VizResource(java.io.File resourceFile,
java.util.ArrayList<VizResource> children)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
This operation provides a deep copy of the VizResource.
|
void |
copy(VizResource otherResource)
This operation performs a deep copy of the attributes of another
VizResource into the current VizResource.
|
boolean |
equals(java.lang.Object resource)
This operation is used to check equality between the VizResource and
another VizResource.
|
java.util.ArrayList<VizResource> |
getChildrenResources()
Return any possible children VizResources.
|
java.lang.String[] |
getFileSet()
Accessor for the file set
|
java.lang.String |
getFileSetTitle()
Accessor for the file set's title
|
java.lang.String |
getHost()
Retrieve the name of the host for this file.
|
int |
hashCode()
This operation returns the hashcode value of the VizResource.
|
boolean |
isRemote()
Retrieve the flag signifying if this file is on a remote machine or not.
|
void |
setFileSet(java.lang.String[] fileSet)
Mutator for the file set
|
void |
setFileSetTitle(java.lang.String title)
Set the fileSetTitle
|
void |
setHost(java.lang.String name)
Set the remote file flag
|
copy, getContents, getLastModificationDate, getPath, getProperties, isPictureType, setContents, setPath, setPictureType, setProperties
copy, getDescription, getId, getName, register, setDescription, setId, setName, unregister, update
public VizResource()
public VizResource(java.io.File resourceFile) throws java.io.IOException
resourceFile
- The File to set as the VizResources contents.java.io.IOException
public VizResource(java.io.File resourceFile, java.util.ArrayList<VizResource> children) throws java.io.IOException
resourceFile
- children
- java.io.IOException
public java.util.ArrayList<VizResource> getChildrenResources()
public void setFileSet(java.lang.String[] fileSet)
fileSet
- The list of file names to add to the file setpublic void setFileSetTitle(java.lang.String title)
title
- The String to use as the file set IDpublic java.lang.String[] getFileSet()
public java.lang.String getFileSetTitle()
public void setHost(java.lang.String name)
name
- The new name of the host. If local, use "localhost". Any other
hostname will be treated as remote.public java.lang.String getHost()
public boolean isRemote()
public boolean equals(java.lang.Object resource)
equals
in interface Identifiable
equals
in class ICEResource
resource
- The other VizResource to which this VizResource should be
compared.Identifiable.equals(Object otherObject)
public int hashCode()
hashCode
in interface Identifiable
hashCode
in class ICEResource
Identifiable.hashCode()
public void copy(VizResource otherResource)
otherResource
- The other VizResource from which information should be copied.public java.lang.Object clone()
clone
in interface Identifiable
clone
in class ICEResource