Package io.mateu.mdd.shared.interfaces
Interface IResource
-
- All Known Implementing Classes:
URLResource
public interface IResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getBytes()StringgetName()StringgetPath()FileTypegetType()StringgetUrl()voidset(String value)voidset(String name, String absolutePath)voidsetBytes(byte[] bytes)voidsetName(String name)voidsetPath(String path)voidsetType(FileType type)voidsetUrl(String o)IFileLocatortoFileLocator()
-
-
-
Method Detail
-
getType
FileType getType()
-
getName
String getName()
-
getBytes
byte[] getBytes()
-
getPath
String getPath()
-
setType
void setType(FileType type)
-
setName
void setName(String name)
-
setBytes
void setBytes(byte[] bytes)
-
setPath
void setPath(String path)
-
toFileLocator
IFileLocator toFileLocator() throws Exception
- Throws:
Exception
-
setUrl
void setUrl(String o)
-
getUrl
String getUrl()
-
-