Class FromFileProperty
java.lang.Object
org.springframework.cloud.contract.spec.internal.FromFileProperty
- All Implemented Interfaces:
Serializable
Represents a property that will become a File content.
- Since:
- 2.1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFromFileProperty(File file, Class type) FromFileProperty(File file, Class type, Charset charset) -
Method Summary
-
Constructor Details
-
FromFileProperty
-
FromFileProperty
-
-
Method Details
-
isString
public boolean isString() -
isByte
public boolean isByte() -
isJson
public boolean isJson() -
isXml
public boolean isXml() -
asString
-
fileName
-
asBytes
public byte[] asBytes() -
toString
-
getFile
-
getCharset
-
getType
-