Java Utililty Methods UTF8 InputStream Read

List of utility methods to do UTF8 InputStream Read

Description

The list of methods to do UTF8 InputStream Read are organized into topic(s).

Method

StringLoadUTF8(InputStream stream)
Load UTF
BufferedReader in = null;
try {
    in = new BufferedReader(new InputStreamReader(stream, "UTF8"));
    String str;
    StringBuilder builder = new StringBuilder();
    while ((str = in.readLine()) != null) {
        builder.append(str);
        builder.append("\n");
...
StringloadUTF8Stream(InputStream stream)
load UTF Stream
if (null == stream) {
    throw new FileNotFoundException();
StringBuffer buf = new StringBuffer();
Scanner scanner = new Scanner(stream, "UTF8");
while (scanner.hasNextLine()) {
    buf.append(scanner.nextLine());
    buf.append("\n");
...