/** * Constructors */ public LdifReader() { lines = new ArrayList<String>(); position = new Position(); version = DEFAULT_VERSION; }
/** * Constructors */ public LdifAttributesReader() { lines = new ArrayList<String>(); position = new Position(); version = DEFAULT_VERSION; }
/** * {@inheritDoc} */ public void close() throws IOException { if ( reader != null ) { position = new Position(); reader.close(); containsEntries = false; containsChanges = false; } } }
position = new Position();
position = new Position();
private void init( BufferedReader reader ) throws LdapLdifException, LdapException { this.reader = reader; lines = new ArrayList<String>(); position = new Position(); version = DEFAULT_VERSION; containsChanges = false; containsEntries = false; // First get the version - if any - version = parseVersion(); prefetched = parseEntry(); }