Package org.eclipse.epsilon.picto
Class StaticContentPromise
- java.lang.Object
-
- org.eclipse.epsilon.picto.StaticContentPromise
-
- All Implemented Interfaces:
ContentPromise
public class StaticContentPromise extends java.lang.Object implements ContentPromise
-
-
Constructor Summary
Constructors Constructor Description StaticContentPromise(java.io.File file)StaticContentPromise(java.lang.String content)StaticContentPromise(java.lang.String content, java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContent()java.io.FilegetFile()
-
-
-
Method Detail
-
getContent
public java.lang.String getContent() throws java.lang.Exception- Specified by:
getContentin interfaceContentPromise- Throws:
java.lang.Exception
-
getFile
public java.io.File getFile()
-
-