public class AlpacaFileToken extends Object implements Serializable
AlpacaFile
Constructor and Description |
---|
AlpacaFileToken() |
AlpacaFileToken(String pathToken) |
Modifier and Type | Method and Description |
---|---|
String |
getAlternateName() |
String |
getPathToken() |
String |
getSerializedClass() |
AlpacaFile |
retrieve()
Retrieves the
AlpacaFile for this AlpacaFileToken. |
<T extends BroadWorksObjectInformation> |
retrieve(Type type,
co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer)
Retrieves and deserializes the destination into the provided
BroadWorksObjectInformation type. |
Object |
retrieveAndDeserialize(co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer)
Retrieves the Object from the FileManager and deserializes the Object.
|
void |
setAlternateName(String alternateName) |
void |
setPathToken(String pathToken) |
void |
setSerializedClass(String serializedClass) |
public AlpacaFileToken()
public AlpacaFileToken(String pathToken)
public String getAlternateName()
public void setAlternateName(String alternateName)
public String getPathToken()
public void setPathToken(String pathToken)
public String getSerializedClass()
public void setSerializedClass(String serializedClass)
@GwtIncompatible public Object retrieveAndDeserialize(co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer) throws HelperException, IOException, ClassNotFoundException
broadWorksServer
- The BroadWorksServer to deserialize into.HelperException
- Thrown if the serialization class is NULL.IOException
- Throw if unable to retrieve the backing file.ClassNotFoundException
- Throw if unable to find the serialized class.@GwtIncompatible public AlpacaFile retrieve() throws HelperException, IOException
AlpacaFile
for this AlpacaFileToken.HelperException
- Thrown if unable to retrieve the FileManager.IOException
- Throw if unable to retrieve the backing file.@GwtIncompatible public <T extends BroadWorksObjectInformation> T retrieve(Type type, co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer) throws HelperException, IOException
BroadWorksObjectInformation
type.T
- The return BroadWorksObjectInformation
type.type
- The Type
to deserialized the backing data.broadWorksServer
- The BroadWorksServer to deserialize into.HelperException
- Thrown if unable to retrieve the FileManager.IOException
- Throw if unable to retrieve the backing file.Copyright © 2016. All rights reserved.