import java.io.*; public class NumbriValjundVoog extends FilterOutputStream{ public NumbriValjundVoog(OutputStream valja){ super(valja); } public void write(int taht) throws IOException{ if (taht>='0' && taht<='9') out.write(taht); } }