public class Dos2UnixResource extends Object implements TextResource
| Constructor and Description |
|---|
Dos2UnixResource(TextResource baseResource)
Constructs a TextResource that disguises Windows line endings in a wrapped resource with Unix line endings
|
| Modifier and Type | Method and Description |
|---|---|
String |
resourceText()
Reads the text content of the wrapped TextResource, then changes the line endings of what was read
|
public Dos2UnixResource(TextResource baseResource)
baseResource - the TextResource to wrappublic String resourceText()
resourceText in interface TextResourceCopyright © 2016. All rights reserved.