foundry.io
Class TabToSpaceWriter
java.lang.Object
|
+--java.io.Writer
|
+--java.io.FilterWriter
|
+--foundry.io.TabToSpaceWriter
- public class TabToSpaceWriter
- extends FilterWriter
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
tabLeader
private String tabLeader
TabToSpaceWriter
public TabToSpaceWriter(Writer w)
TabToSpaceWriter
public TabToSpaceWriter(Writer w,
int howManySpaces)
throws IllegalArgumentException
write
public void write(int c)
throws IOException
- Overrides:
write
in class FilterWriter
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
write
public void write(String s,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
convertTabsToSpaces
public static String convertTabsToSpaces(String source,
int spaces)
throws IOException
Copyright © 2000 - Laird Jarrett Nelson