|
|
@@ -28,12 +28,36 @@ import java.util.List; |
|
|
|
*/ |
|
|
|
public class CodeReaderConfiguration { |
|
|
|
|
|
|
|
/** |
|
|
|
* @deprecated in 2.12, do not use anymore. |
|
|
|
*/ |
|
|
|
@Deprecated |
|
|
|
public static final int DEFAULT_BUFFER_CAPACITY = 8000; |
|
|
|
|
|
|
|
public static final int DEFAULT_TAB_WIDTH = 1; |
|
|
|
|
|
|
|
private int tabWidth = DEFAULT_TAB_WIDTH; |
|
|
|
|
|
|
|
private List<CodeReaderFilter<?>> codeReaderFilters = new ArrayList<CodeReaderFilter<?>>(); |
|
|
|
|
|
|
|
/** |
|
|
|
* @deprecated in 2.12, do not use anymore. |
|
|
|
* @return the constant Integer.MAX_VALUE |
|
|
|
*/ |
|
|
|
@Deprecated |
|
|
|
public int getBufferCapacity() { |
|
|
|
return Integer.MAX_VALUE; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @deprecated in 2.12, do not use anymore. |
|
|
|
* @param bufferCapacity |
|
|
|
* the bufferCapacity to set |
|
|
|
*/ |
|
|
|
@Deprecated |
|
|
|
public void setBufferCapacity(int bufferCapacity) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return the tabWidth |
|
|
|
*/ |