@Override public void init(Context context){
  super.init(context);
  String s;
  s=context.getResolvedEntityAttribute(ACCEPT_LINE_REGEX);
  if (s != null) {
    acceptLineRegex=Pattern.compile(s);
  }
  s=context.getResolvedEntityAttribute(SKIP_LINE_REGEX);
  if (s != null) {
    skipLineRegex=Pattern.compile(s);
  }
  url=context.getResolvedEntityAttribute(URL);
  if (url == null)   throw new DataImportHandlerException(DataImportHandlerException.SEVERE,"'" + URL + "' is a required attribute");
}

@ Override public void init ( Context context ) { super . init ( context ) ; String s ; s = context . getResolvedEntityAttribute ( ACCEPT_LINE_REGEX ) ; if ( s != null ) { acceptLineRegex = Pattern . compile ( s ) ; } s = context . getResolvedEntityAttribute ( SKIP_LINE_REGEX ) ; if ( s != null ) { skipLineRegex = Pattern . compile ( s ) ; } url = context . getResolvedEntityAttribute ( URL ) ; if ( url == null ) throw new DataImportHandlerException ( DataImportHandlerException . SEVERE , "'" + URL + "' is a required attribute" ) ; }
parses each of the entity attributes .
