Package co.ecg.alpaca.core.model
Class AlpacaFileToken
- java.lang.Object
-
- co.ecg.alpaca.core.model.AlpacaFileToken
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LogFileToken
public class AlpacaFileToken extends Object implements Serializable
A token that can be used to retrieve anAlpacaFile
- Version:
- $Id: $Id
- Author:
- Matthew Keathley on 5/25/16.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlpacaFileToken(String[] context, String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAbsolutePath()
File
getFile()
Type
getType()
AlpacaFile
retrieve()
-
-
-
Method Detail
-
getType
public Type getType() throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
retrieve
public AlpacaFile retrieve() throws HelperException
- Throws:
HelperException
-
getAbsolutePath
public String getAbsolutePath() throws HelperException
- Throws:
HelperException
-
getFile
public File getFile() throws HelperException
- Throws:
HelperException
-
-