/** * Returns the delimiter to be used by colliding command line args when * creating non colliding arg's aliases (keys for key/value-pairs). * * @return The according delimiter. */ protected char getDelimiter() { return Delimiter.INDEX.getChar(); }
/** * Instantiates a new base metrics impl. * * @param aBase the base */ public BaseMetricsImpl( int aBase ) { this( aBase, CharSet.BASE64.getCharSet() ); }
/** * {@inheritDoc} */ @Override public String[] getFilenameExtensions() { return new String[] { FilenameExtension.XML.getFilenameExtension() }; }
/** * {@inheritDoc} */ @Override public String toProtocol() { if ( _scheme != null ) { return _scheme.toProtocol(); } return _protocol; }
/** * Constructs the {@link ArgsProperties} from the provided command line * arguments using the prefixes as defined by the {@link CommandArgPrefix} * enumeration to identify the keys (and the values) from the provided * arguments. * * @param aArgs The arguments from which to extract key/value-pairs. */ public ArgsProperties( String[] aArgs ) { this( aArgs, CommandArgPrefix.toPrefixes() ); }
/** * Instantiates a new base metrics impl. * * @param aBase the base * @param aCharSet the char set */ public BaseMetricsImpl( int aBase, char[] aCharSet ) { this( aBase, aCharSet, Padding.BASE64.getChar() ); }
/** * Create an empty {@link PathMapBuilder} instance using the default path * delimiter "/" ({@link Delimiter#PATH}) for the path declarations. * * @param aType The type of the values being referenced by the paths. */ public PathMapBuilderImpl( Class<T> aType ) { this( Delimiter.PATH.getChar(), aType ); }
/** * {@inheritDoc} */ @Override public String[] getFilenameExtensions() { return new String[] { FilenameExtension.TOML.getFilenameExtension(), FilenameExtension.INI.getFilenameExtension() }; }
/** * {@inheritDoc} */ @Override public String toProtocol() { if ( _scheme != null ) { return _scheme.toProtocol(); } return _protocol; }
/** * Create a {@link PathMapBuilder} instance containing the elements as of * {@link MutablePathMap#insert(Object)} using the default path delimiter * "/" ({@link Delimiter#PATH}) for the path declarations. * * @param aObj The object from which the elements are to be added. * * @param aType The type of the values being referenced by the paths. */ public PathMapBuilderImpl( Object aObj, Class<T> aType ) { this( aObj, Delimiter.PATH.getChar(), aType ); }
/** * {@inheritDoc} */ @Override public String[] getFilenameExtensions() { return new String[] { FilenameExtension.PROPERTIES.getFilenameExtension() }; }
/** * Returns the default path delimiter as of {@link Delimiter#PATH}. * * {@inheritDoc} */ @Override default char getDelimiter() { return Delimiter.PATH.getChar(); }
/** * {@inheritDoc} */ @Override public String[] getFilenameExtensions() { return new String[] { FilenameExtension.TOML.getFilenameExtension(), FilenameExtension.INI.getFilenameExtension() }; }
/** * Initializes the {@link PropertyImpl} with the given values. * * @param aTupel A tupel is a key and a value with the assignment operator * "=" inbetween, e.g. "a=5" (the key would be a, the value would be * 5). */ public PropertyImpl( String aTupel ) { this( aTupel, Delimiter.PROPERTY.getChar() ); }
/** * {@inheritDoc} */ public String[] getFilenameExtensions() { return new String[] { FilenameExtension.JSON.getFilenameExtension() }; }
/** * {@inheritDoc} */ @Override public String[] getFilenameExtensions() { return new String[] { FilenameExtension.YAML.getFilenameExtension() }; }
/** * {@inheritDoc} */ @Override public String[] getFilenameExtensions() { return new String[] { FilenameExtension.JSON.getFilenameExtension() }; }
/** * {@inheritDoc} */ @Override public String[] getFilenameExtensions() { return new String[] { FilenameExtension.XML.getFilenameExtension() }; }
/** * {@inheritDoc} */ @Override public String[] getFilenameExtensions() { return new String[] { FilenameExtension.PROPERTIES.getFilenameExtension() }; }
/** * {@inheritDoc} */ @Override public String[] getFilenameExtensions() { return new String[] { FilenameExtension.YAML.getFilenameExtension() }; }