public synchronized void load2() throws IOException {
        COL result = create();

        if (exists()) {
            try (LinesStream stream = linesStream()) {
                for (String line : stream) {
                    if (line.startsWith("#")) continue;   // comment
                    T r = parse(line);
                    if (r != null)
                        result.add(r);
                }
            }
        }

        parsed = readOnly(result);
    }
public synchronized void load2 ( ) throws IOException { COL result = create ( ) ; if ( exists ( ) ) { try ( LinesStream stream = linesStream ( ) ) { for ( String line : stream ) { if ( line . startsWith ( "#" ) ) continue ; T r = parse ( line ) ; if ( r != null ) result . add ( r ) ; } } } parsed = readOnly ( result ) ; }
Loads the configuration from the configuration file.
@throws IOException if the configuration file could not be read.
@since 2.111