org.thymeleaf.testing.templateengine.resource
Class ClassPathFileTestResource
Object
org.thymeleaf.testing.templateengine.resource.AbstractTestResource
org.thymeleaf.testing.templateengine.resource.ClassPathFileTestResource
- All Implemented Interfaces:
- IClassPathTestResource, ITestResource, ITestResourceItem
public final class ClassPathFileTestResource
- extends AbstractTestResource
- implements ITestResourceItem, IClassPathTestResource
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.thymeleaf.testing.templateengine.resource.ITestResource |
getName |
ClassPathFileTestResource
public ClassPathFileTestResource(String resourceName,
String characterEncoding)
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncoding in interface IClassPathTestResource
getResourceURL
public URL getResourceURL()
- Specified by:
getResourceURL in interface IClassPathTestResource
readAsText
public String readAsText()
- Specified by:
readAsText in interface ITestResourceItem
Copyright © 2013 The THYMELEAF team. All Rights Reserved.