FileDocCategorySizeDatePackage
IntFilter.javaAPI DocExample483Sat Feb 04 07:54:42 GMT 2006com.elharo.io

IntFilter

public class IntFilter extends DataFilter

Fields Summary
Constructors Summary
public IntFilter(DataInputStream din)

    super(din);
  
Methods Summary
protected voidfill()

    int number = din.readInt();
    String s = Integer.toString(number) 
     + System.getProperty("line.separator", "\r\n");
    byte[] b = s.getBytes("8859_1");
    buf = new int[b.length];
    for (int i = 0; i < b.length; i++) {
      buf[i] = b[i];
    }