Package | Description |
---|---|
org.springframework.cloud.contract.spec.internal |
Modifier and Type | Method and Description |
---|---|
FromFileProperty |
Common.file(String relativePath)
Read file contents as String.
|
FromFileProperty |
Common.file(String relativePath,
Charset charset)
Read file contents as String with the given Charset.
|
FromFileProperty |
Common.fileAsBytes(String relativePath)
Read file contents as bytes[].
|
Copyright © 2016–2019 Spring. All rights reserved.