public final class LSInputOf extends Object implements LSInput
There is no thread-safety guarantee.
Constructor and Description |
---|
LSInputOf(Input inpt)
Ctor.
|
LSInputOf(Input inpt,
String pubid,
String sysid,
String bse)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseURI() |
InputStream |
getByteStream() |
boolean |
getCertifiedText() |
Reader |
getCharacterStream() |
String |
getEncoding() |
String |
getPublicId() |
String |
getStringData() |
String |
getSystemId() |
void |
setBaseURI(String uri) |
void |
setByteStream(InputStream stream) |
void |
setCertifiedText(boolean text) |
void |
setCharacterStream(Reader stream) |
void |
setEncoding(String encoding) |
void |
setPublicId(String pubid) |
void |
setStringData(String data) |
void |
setSystemId(String sysid) |
public LSInputOf(Input inpt)
inpt
- Inputpublic Reader getCharacterStream()
getCharacterStream
in interface LSInput
public void setCharacterStream(Reader stream)
setCharacterStream
in interface LSInput
public InputStream getByteStream()
getByteStream
in interface LSInput
public void setByteStream(InputStream stream)
setByteStream
in interface LSInput
public String getStringData()
getStringData
in interface LSInput
public void setStringData(String data)
setStringData
in interface LSInput
public String getSystemId()
getSystemId
in interface LSInput
public void setSystemId(String sysid)
setSystemId
in interface LSInput
public String getPublicId()
getPublicId
in interface LSInput
public void setPublicId(String pubid)
setPublicId
in interface LSInput
public String getBaseURI()
getBaseURI
in interface LSInput
public void setBaseURI(String uri)
setBaseURI
in interface LSInput
public String getEncoding()
getEncoding
in interface LSInput
public void setEncoding(String encoding)
setEncoding
in interface LSInput
public boolean getCertifiedText()
getCertifiedText
in interface LSInput
public void setCertifiedText(boolean text)
setCertifiedText
in interface LSInput
Copyright © 2017 Cactoos. All rights reserved.