public class IntelligentFileReader extends Reader
| Constructor and Description |
|---|
IntelligentFileReader(File file) |
IntelligentFileReader(File file,
String encoding) |
IntelligentFileReader(InputStream inputStream) |
IntelligentFileReader(Reader reader) |
IntelligentFileReader(String file) |
IntelligentFileReader(URLConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getLineNumber() |
static String |
load(File filename) |
static String |
load(InputStream stream) |
static String |
load(Reader reader) |
static String |
load(String filename) |
static String |
load(URL url) |
int |
read(char[] cbuf,
int off,
int len) |
static byte[] |
readBytes(File file) |
static byte[] |
readBytes(File file,
int length) |
String |
readLine() |
public IntelligentFileReader(String file)
public IntelligentFileReader(InputStream inputStream)
public IntelligentFileReader(Reader reader)
public IntelligentFileReader(File file)
public IntelligentFileReader(URLConnection connection) throws IOException
IOExceptionpublic String readLine()
public void close()
public int getLineNumber()
public int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic static String load(InputStream stream)
public static byte[] readBytes(File file)
public static byte[] readBytes(File file, int length)
public static String load(URL url) throws IOException
IOExceptionCopyright © 2015 Universal Java Matrix Package. All rights reserved.