public class Stax2FileSource extends Stax2ReferentialSource
Stax2ReferentialSource, which refers
 to the specific file.mEncoding, mPublicId, mSystemId| Constructor and Description | 
|---|
Stax2FileSource(File f)  | 
| Modifier and Type | Method and Description | 
|---|---|
InputStream | 
constructInputStream()
This method creates an  
InputStream via which underlying input
 source can be accessed. | 
Reader | 
constructReader()
This method creates a  
Reader via which underlying input
 source can be accessed. | 
File | 
getFile()  | 
URL | 
getReference()  | 
getSystemIdgetEncoding, getPublicId, setEncoding, setPublicId, setSystemIdpublic Stax2FileSource(File f)
public URL getReference()
getReference in class Stax2ReferentialSourcepublic Reader constructReader() throws IOException
Stax2SourceReader via which underlying input
 source can be accessed. Note that caller is responsible for
 closing that Reader when it is done reading it.constructReader in class Stax2ReferentialSourceIOExceptionpublic InputStream constructInputStream() throws IOException
Stax2SourceInputStream via which underlying input
 source can be accessed. Note that caller is responsible for
 closing that InputSource when it is done reading itconstructInputStream in class Stax2ReferentialSourceIOExceptionpublic File getFile()
Copyright © 2015 fasterxml.com. All Rights Reserved.