public abstract class Source extends Object
| Constructor and Description |
|---|
Source() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEncoding() |
Markup |
getMarkup() |
String |
getName() |
Reader |
getReader() |
protected abstract InputStream |
getStream() |
protected void |
guessSettings(String name)
Tries to guess markup and encoding based on the given string,
which is usually the file or url name.
|
void |
setEncoding(String encoding) |
void |
setMarkup(Markup markup) |
void |
setName(String name) |
public String getEncoding()
public void setEncoding(String encoding)
public Markup getMarkup()
public void setMarkup(Markup markup)
protected abstract InputStream getStream() throws IOException
IOExceptionpublic Reader getReader() throws IOException
IOExceptionpublic String getName()
public void setName(String name)
protected void guessSettings(String name)
name - Copyright © 2003–2016 Community Z Tools Project. All rights reserved.