public abstract class BufferedResourceLoader extends BaseResourceLoader
ResourceLoader
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BUFFER_SIZE |
static String |
DEFAULT_CHARACTER_SET |
Constructor and Description |
---|
BufferedResourceLoader() |
Modifier and Type | Method and Description |
---|---|
protected Reader |
buffer(Reader reader)
Subclasses can wrap a Reader in a BufferedReader by calling this method.
|
int |
getBufferSize() |
String |
getCharacterSet() |
void |
setBufferSize(int bufferSize) |
void |
setCharacterSet(String characterSet) |
close, getKey, getResourceVersionId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
open, openOrFail
public static final int DEFAULT_BUFFER_SIZE
public static final String DEFAULT_CHARACTER_SET
protected Reader buffer(Reader reader)
public int getBufferSize()
public void setBufferSize(int bufferSize)
public void setCharacterSet(String characterSet)
public String getCharacterSet()
Copyright © 2010–2018 Google. All rights reserved.