Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- public class CustomFilter extends FilterOutputStream {
- public CustomFilter(OutputStream out) {
- super(out);
- }
- @Override
- public void write(int b) {
- if(!(b == 65 || b == 69 || b == 73 || b == 79 || b == 85)) {
- try {
- super.write(b);
- }
- catch (IOException ex) {
- }
- }
- }
- }
- /*}
- * */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement