public static Storer createStorer() {
        Storer.Mode mode = Storer.Mode.fromString(DEPENDENCIES_FORMAT_V);
        if (mode == Storer.Mode.TXT) {
            return new TxtStorer();
        } else if (mode == Storer.Mode.BIN) {
            return new BinStorer();
        } else if (mode == Storer.Mode.PREFIX_TXT) {
            return new PrefixTxtStorer();
        } else {
            Log.e("Storer must have default value.");
            throw new RuntimeException();
        }
    }
public static Storer createStorer ( ) { Storer . Mode mode = Storer . Mode . fromString ( DEPENDENCIES_FORMAT_V ) ; if ( mode == Storer . Mode . TXT ) { return new TxtStorer ( ) ; } else if ( mode == Storer . Mode . BIN ) { return new BinStorer ( ) ; } else if ( mode == Storer . Mode . PREFIX_TXT ) { return new PrefixTxtStorer ( ) ; } else { Log . e ( "Storer must have default value." ) ; throw new RuntimeException ( ) ; } }
FACTORIES