com.eteks.outils
Class FiltreCommentaires
java.lang.Object
java.io.Reader
java.io.FilterReader
com.eteks.outils.FiltreCommentaires
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable
public class FiltreCommentaires
- extends java.io.FilterReader
Classe filtrant tous les commentaires /* et // d'un flux de caracteres.
Fields inherited from class java.io.FilterReader |
in |
Fields inherited from class java.io.Reader |
lock |
Method Summary |
int |
read()
|
int |
read(char[] buffer,
int offset,
int length)
|
Methods inherited from class java.io.FilterReader |
close, mark, markSupported, ready, reset, skip |
Methods inherited from class java.io.Reader |
read, read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FiltreCommentaires
public FiltreCommentaires(java.io.Reader fluxLecture)
read
public int read()
throws java.io.IOException
- Overrides:
read
in class java.io.FilterReader
- Throws:
java.io.IOException
read
public int read(char[] buffer,
int offset,
int length)
throws java.io.IOException
- Overrides:
read
in class java.io.FilterReader
- Throws:
java.io.IOException