Class StringTestResource
- Object
-
- org.thymeleaf.testing.templateengine.resource.AbstractTestResource
-
- org.thymeleaf.testing.templateengine.resource.StringTestResource
-
- All Implemented Interfaces:
ITestResource
,ITestResourceItem
public class StringTestResource extends AbstractTestResource implements ITestResourceItem
-
-
Constructor Summary
Constructors Constructor Description StringTestResource(String name, String str)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getType()
String
readAsText()
-
Methods inherited from class org.thymeleaf.testing.templateengine.resource.AbstractTestResource
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.thymeleaf.testing.templateengine.resource.ITestResource
getName
-
-
-
-
Method Detail
-
getType
public String getType()
-
readAsText
public String readAsText()
- Specified by:
readAsText
in interfaceITestResourceItem
-
-