public class InputSource extends Object implements Closeable
| Constructor and Description |
|---|
InputSource(Reader reader)
Create a new input source backed by a reader.
|
public InputSource(Reader reader)
reader - the readerpublic Reader getReader()
public String getURI()
public void setURI(String uri)
uri - the uripublic String getMedia()
public void setMedia(String media)
media - the mediapublic String getTitle()
public void setTitle(String title)
title - the titlepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2021. All rights reserved.