public class LocalSourceFileInput extends java.lang.Object implements SourceFileInput
| Constructor and Description |
|---|
LocalSourceFileInput(java.nio.file.Path path,
java.nio.charset.Charset charSet,
EventBus eventBus) |
LocalSourceFileInput(java.nio.file.Path path,
EventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
protected void |
doDispose() |
java.lang.String |
getData() |
java.nio.file.Path |
getPath() |
URI |
getURI() |
protected void |
init() |
void |
persist() |
void |
reset() |
void |
setData(java.lang.String data) |
void |
updateData(int offset,
int length,
java.lang.String replacement) |
public LocalSourceFileInput(java.nio.file.Path path,
EventBus eventBus)
public LocalSourceFileInput(java.nio.file.Path path,
java.nio.charset.Charset charSet,
EventBus eventBus)
@PostConstruct protected void init()
public java.nio.file.Path getPath()
@PreDestroy public final void dispose()
protected void doDispose()
public java.lang.String getData()
public void setData(java.lang.String data)
public URI getURI()
getURI in interface URIProviderpublic void updateData(int offset,
int length,
java.lang.String replacement)
updateData in interface StringInput