private void readObject(final java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
  try {
    field=(String)in.readObject();
    String patternString=(String)in.readObject();
    pattern=Pattern.compile(patternString,Pattern.CASE_INSENSITIVE);
  }
 catch (  PatternSyntaxException e) {
    throw new IOException("Invalid LIKE rule - " + e.getMessage());
  }
}

private void readObject ( final java . io . ObjectInputStream in ) throws IOException , ClassNotFoundException { try { field = ( String ) in . readObject ( ) ; String patternString = ( String ) in . readObject ( ) ; pattern = Pattern . compile ( patternString , Pattern . CASE_INSENSITIVE ) ; } catch ( PatternSyntaxException e ) { throw new IOException ( "Invalid LIKE rule - " + e . getMessage ( ) ) ; } }
deserialize the state of the object .
