Class AbstractObfuscationResourcePropertiesBuilderDecorator
- java.lang.Object
-
- org.refcodes.configuration.AbstractPropertiesDecorator<T>
-
- org.refcodes.configuration.AbstractPropertiesBuilderDecorator<T>
-
- org.refcodes.configuration.AbstractResourcePropertiesBuilderDecorator<org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder>
-
- org.refcodes.configuration.ext.obfuscation.AbstractObfuscationResourcePropertiesBuilderDecorator
-
- All Implemented Interfaces:
java.io.Flushable
,java.util.Map<java.lang.String,T>
,org.refcodes.component.Flushable
,org.refcodes.component.Flushable.FlushBuilder<java.lang.String>
,ObfuscationProperties
,ObfuscationProperties.MutableObfuscationProperties
,ObfuscationProperties.ObfuscationPropertiesBuilder
,ObfuscationResourceProperties
,ObfuscationResourceProperties.MutableObfuscationResourceProperties
,ObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
,org.refcodes.configuration.Properties
,org.refcodes.configuration.Properties.MutableProperties
,org.refcodes.configuration.Properties.PropertiesBuilder
,org.refcodes.configuration.ResourceProperties
,org.refcodes.configuration.ResourceProperties.MutableResoureProperties
,org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
,org.refcodes.mixin.DecryptPrefixAccessor
,org.refcodes.mixin.DecryptPrefixAccessor.DecryptPrefixBuilder<java.lang.String>
,org.refcodes.mixin.DecryptPrefixAccessor.DecryptPrefixMutator
,org.refcodes.mixin.DecryptPrefixAccessor.DecryptPrefixProperty
,org.refcodes.mixin.DelimiterAccessor
,org.refcodes.mixin.Dumpable
,org.refcodes.mixin.EncryptPrefixAccessor
,org.refcodes.mixin.EncryptPrefixAccessor.EncryptPrefixBuilder<java.lang.String>
,org.refcodes.mixin.EncryptPrefixAccessor.EncryptPrefixMutator
,org.refcodes.mixin.EncryptPrefixAccessor.EncryptPrefixProperty
,org.refcodes.mixin.TypeAccessor<java.lang.String>
,org.refcodes.structure.CanonicalMap
,org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
,org.refcodes.structure.CanonicalMap.MutableCanonicalMap
,org.refcodes.structure.Clearable
,org.refcodes.structure.Containable
,org.refcodes.structure.Dictionary<java.lang.String,T>
,org.refcodes.structure.Dictionary.MutableDictionary<java.lang.String,T>
,org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T,org.refcodes.structure.PathMap.PathMapBuilder<T>>
,org.refcodes.structure.Keys<java.lang.String,T>
,org.refcodes.structure.Keys.MutableKeys<java.lang.String,T>
,org.refcodes.structure.Keys.MutableValues<java.lang.String,T>
,org.refcodes.structure.PathMap<java.lang.String>
,org.refcodes.structure.PathMap.MutablePathMap<java.lang.String>
,org.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
,org.refcodes.structure.PropertiesAccessorMixin
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
- Direct Known Subclasses:
ObfuscationResourcePropertiesBuilderDecorator
public abstract class AbstractObfuscationResourcePropertiesBuilderDecorator extends org.refcodes.configuration.AbstractResourcePropertiesBuilderDecorator<org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder> implements ObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
Base implementation for aObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
flavor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.structure.CanonicalMap
org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.DecryptPrefixAccessor
org.refcodes.mixin.DecryptPrefixAccessor.DecryptPrefixBuilder<B extends org.refcodes.mixin.DecryptPrefixAccessor.DecryptPrefixBuilder<B>>, org.refcodes.mixin.DecryptPrefixAccessor.DecryptPrefixMutator, org.refcodes.mixin.DecryptPrefixAccessor.DecryptPrefixProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.DelimiterAccessor
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Dictionary
org.refcodes.structure.Dictionary.MutableDictionary<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Dictionary.MutableDictionary
org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K extends java.lang.Object,V extends java.lang.Object,B extends org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.EncryptPrefixAccessor
org.refcodes.mixin.EncryptPrefixAccessor.EncryptPrefixBuilder<B extends org.refcodes.mixin.EncryptPrefixAccessor.EncryptPrefixBuilder<B>>, org.refcodes.mixin.EncryptPrefixAccessor.EncryptPrefixMutator, org.refcodes.mixin.EncryptPrefixAccessor.EncryptPrefixProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.Flushable
org.refcodes.component.Flushable.FlushBuilder<B extends org.refcodes.component.Flushable.FlushBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.configuration.ext.obfuscation.ObfuscationProperties
ObfuscationProperties.MutableObfuscationProperties, ObfuscationProperties.ObfuscationPropertiesBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.configuration.ext.obfuscation.ObfuscationResourceProperties
ObfuscationResourceProperties.MutableObfuscationResourceProperties, ObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.structure.PathMap
org.refcodes.structure.PathMap.MutablePathMap<T extends java.lang.Object>, org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.configuration.Properties
org.refcodes.configuration.Properties.MutableProperties, org.refcodes.configuration.Properties.PropertiesBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.structure.PropertiesAccessorMixin
org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T extends java.lang.Object>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
_decryptPrefix
protected java.lang.String
_encryptPrefix
-
Constructor Summary
Constructors Constructor Description AbstractObfuscationResourcePropertiesBuilderDecorator(org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder aProperties)
Decorates the providedResourceProperties.ResourcePropertiesBuilder
with additionalObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
behavior or functionality.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected boolean
encryptAll()
Encrypts all values prefixed accordingly as returned bygetEncryptPrefix()
.protected java.util.Set<java.lang.String>
encryptSet()
Returns aSet
of all the keys which's values are to be encrypted, e.g. which's values are prefixed with the prefix as returned bygetEncryptPrefix()
.java.lang.String
get(java.lang.Object aKey)
java.lang.String
getDecryptPrefix()
java.lang.String
getEncryptPrefix()
java.lang.String
put(java.lang.String aKey, java.lang.String aValue)
void
setDecryptPrefix(java.lang.String aDecryptPrefix)
void
setEncryptPrefix(java.lang.String aEncryptPrefix)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPut(java.lang.Object[] aPathElements, java.lang.String aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPut(java.lang.Object aPath, java.lang.String aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPut(java.lang.String[] aPathElements, java.lang.String aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPut(java.lang.String aKey, java.lang.String aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPut(org.refcodes.structure.Relation<java.lang.String,java.lang.String> aProperty)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutBoolean(java.lang.Object[] aPathElements, java.lang.Boolean aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutBoolean(java.lang.String[] aPathElements, java.lang.Boolean aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutByte(java.lang.Object[] aPathElements, java.lang.Byte aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutByte(java.lang.String[] aPathElements, java.lang.Byte aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutDouble(java.lang.Object[] aPathElements, java.lang.Double aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutDouble(java.lang.String[] aPathElements, java.lang.Double aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutFloat(java.lang.Object[] aPathElements, java.lang.Float aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutFloat(java.lang.String[] aPathElements, java.lang.Float aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutInteger(java.lang.Object[] aPathElements, java.lang.Integer aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutInteger(java.lang.String[] aPathElements, java.lang.Integer aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutLong(java.lang.Object[] aPathElements, java.lang.Long aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutLong(java.lang.String[] aPathElements, java.lang.Long aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutShort(java.lang.Object[] aPathElements, java.lang.Short aValue)
abstract AbstractObfuscationResourcePropertiesBuilderDecorator
withPutShort(java.lang.String[] aPathElements, java.lang.Short aValue)
-
Methods inherited from class org.refcodes.configuration.AbstractPropertiesBuilderDecorator
clear, containsValue, entrySet, putAll, remove
-
Methods inherited from class org.refcodes.configuration.AbstractPropertiesDecorator
containsKey, getDelimiter, getProperties, isEmpty, keySet, retrieveFrom, retrieveTo, setProperties, size, toDataStructure, values
-
Methods inherited from class org.refcodes.configuration.AbstractResourcePropertiesBuilderDecorator
flush, isFlushable, loadFrom, loadFrom, reload, reload, saveTo, saveTo, seekFrom, toSerialized
-
Methods inherited from interface org.refcodes.structure.CanonicalMap
getBoolean, getBoolean, getBooleanOr, getBooleanOr, getByte, getByte, getByteOr, getByteOr, getCharacter, getCharacter, getCharacterOr, getCharacterOr, getDouble, getDouble, getDoubleOr, getDoubleOr, getFloat, getFloat, getFloatOr, getFloatOr, getInteger, getInteger, getIntegerOr, getIntegerOr, getLong, getLong, getLongOr, getLongOr, getShort, getShort, getShortOr, getShortOr, toInstance, toInstance, toMap, toProperties, toType, toType
-
Methods inherited from interface org.refcodes.structure.CanonicalMap.MutableCanonicalMap
insert, insertBetween, insertFrom, insertTo, put, put, putAll, putBoolean, putBoolean, putByte, putByte, putDouble, putDouble, putFloat, putFloat, putInteger, putInteger, putLong, putLong, putShort, putShort, removeFrom, toDump, toSourceCode, toSourceCode
-
Methods inherited from interface org.refcodes.component.Flushable.FlushBuilder
withFlush, withFlushUnchecked
-
Methods inherited from interface org.refcodes.configuration.ext.obfuscation.ObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
withDecryptPrefix, withEncryptPrefix, withInsert, withInsertBetween, withInsertFrom, withInsertTo, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withPutBoolean, withPutByte, withPutDouble, withPutFloat, withPutInteger, withPutLong, withPutShort, withRemoveFrom, withSeekFrom, withSeekFrom, withSeekFrom, withSeekFrom, withSeekFrom, withSeekFrom
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.refcodes.structure.PathMap
children, children, children, children, children, children, containsKey, containsKey, containsKey, dirs, dirs, dirs, dirs, dirs, dirs, fromExternalPath, get, get, get, getArray, getArray, getArray, getArray, getArray, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getDirAt, getDirAt, getDirAt, getDirAt, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getRootPath, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, hasChildren, hasChildren, hasChildren, hasChildren, hasChildren, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasParentPath, hasPath, hasPath, hasPath, hasPath, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, isArray, isArray, isArray, isArray, isArray, isArray, isArrayIndex, isArrayIndex, isArrayIndex, isArrayIndex, isArrayIndex, isArrayIndex, isChild, isChild, isChild, isChild, isDir, isDir, isDir, isDir, isDir, isDirIndex, isDirIndex, isDirIndex, isDirIndex, isDirIndex, isLeaf, isLeaf, isLeaf, isLeaf, isLeaf, isRootPath, keySet, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, leaves, leaves, leaves, leaves, leaves, leaves, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, paths, paths, paths, paths, paths, paths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, toDataStructure, toDataStructure, toExternalPath, toLeaf, toMap, toNormalizedPath, toParentPath, toPath, toPath, toPath, toPathElements, toPathList, toPropertyPath
-
Methods inherited from interface org.refcodes.structure.PathMap.MutablePathMap
appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, delete, delete, delete, delete, insert, insert, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, put, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putValueAt, putValueAt, putValueAt, putValueAt, putValueAt, remove, remove, removeValueAt, removeValueAt, removeValueAt, removeValueAt, removeValueAt
-
Methods inherited from interface org.refcodes.configuration.Properties
getDelimiter, getType, query, query, query, query, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryTo, queryTo, queryTo, queryTo, queryTo, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveTo, retrieveTo
-
Methods inherited from interface org.refcodes.configuration.Properties.MutableProperties
containsValue, delete, delete, getDirAt, getDirAt, insert, insertBetween, insertFrom, insertTo, put, putAll, putAll, putAll, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, removeAll, removeAll, removeDirAt, removeDirAt, removeDirAt, removeDirAt, removeDirAt, removeFrom, removeFrom, removeFrom, removeFrom
-
Methods inherited from interface org.refcodes.configuration.Properties.PropertiesBuilder
withInsert, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withPut, withPutBoolean, withPutBoolean, withPutByte, withPutByte, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDouble, withPutDouble, withPutFloat, withPutFloat, withPutInteger, withPutInteger, withPutLong, withPutLong, withPutShort, withPutShort, withRemoveFrom, withRemoveFrom, withRemoveFrom, withRemoveFrom
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin
asArray, asArray, asArray, asArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asByteArray, asByteArray, asByteArray, asByteArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asLongArray, asLongArray, asLongArray, asLongArray, asShortArray, asShortArray, asShortArray, asShortArray, getBoolean, getBoolean, getBooleanOr, getBooleanOr, getByte, getByte, getByteOr, getByteOr, getCharacter, getCharacter, getCharacterOr, getCharacterOr, getDouble, getDouble, getDoubleOr, getDoubleOr, getFloat, getFloat, getFloatOr, getFloatOr, getInteger, getInteger, getIntegerOr, getIntegerOr, getLong, getLong, getLongOr, getLongOr, getShort, getShort, getShortOr, getShortOr
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin
withPut
-
Methods inherited from interface org.refcodes.configuration.ResourceProperties
reload, reload, toSerialized
-
Methods inherited from interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
fileTo, fileTo, fileTo, fileTo, fileTo, fileTo, fileTo, fileTo, flush, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, parseFrom, parseFrom, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, toSerialized
-
-
-
-
Constructor Detail
-
AbstractObfuscationResourcePropertiesBuilderDecorator
public AbstractObfuscationResourcePropertiesBuilderDecorator(org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder aProperties)
Decorates the providedResourceProperties.ResourcePropertiesBuilder
with additionalObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
behavior or functionality. Changes applied to the providedResourceProperties.ResourcePropertiesBuilder
affect the decorator.- Parameters:
aProperties
- TheResourceProperties
to be decorated.
-
-
Method Detail
-
withPut
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPut(org.refcodes.structure.Relation<java.lang.String,java.lang.String> aProperty)
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T extends java.lang.Object,org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>>
- Specified by:
withPut
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPut
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withPut
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPut
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPut(java.lang.String aKey, java.lang.String aValue)
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T extends java.lang.Object,org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>>
- Specified by:
withPut
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPut
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withPut
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
- Specified by:
withPut
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPut
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPut(java.lang.Object aPath, java.lang.String aValue)
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPut
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPut
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPut(java.lang.Object[] aPathElements, java.lang.String aValue) throws java.lang.NumberFormatException
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPut
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withPut
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
- Throws:
java.lang.NumberFormatException
-
withPut
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPut(java.lang.String[] aPathElements, java.lang.String aValue) throws java.lang.NumberFormatException
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPut
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withPut
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
- Throws:
java.lang.NumberFormatException
-
withPutBoolean
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutBoolean(java.lang.Object[] aPathElements, java.lang.Boolean aValue)
- Specified by:
withPutBoolean
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutBoolean
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutBoolean
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutBoolean
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutBoolean
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutBoolean
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutBoolean(java.lang.String[] aPathElements, java.lang.Boolean aValue)
- Specified by:
withPutBoolean
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutBoolean
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutBoolean
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutBoolean
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutBoolean
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutByte
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutByte(java.lang.Object[] aPathElements, java.lang.Byte aValue)
- Specified by:
withPutByte
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutByte
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutByte
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutByte
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutByte
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutByte
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutByte(java.lang.String[] aPathElements, java.lang.Byte aValue)
- Specified by:
withPutByte
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutByte
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutByte
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutByte
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutByte
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutDouble
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutDouble(java.lang.Object[] aPathElements, java.lang.Double aValue)
- Specified by:
withPutDouble
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutDouble
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutDouble
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutDouble
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutDouble
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutDouble
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutDouble(java.lang.String[] aPathElements, java.lang.Double aValue)
- Specified by:
withPutDouble
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutDouble
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutDouble
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutDouble
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutDouble
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutFloat
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutFloat(java.lang.Object[] aPathElements, java.lang.Float aValue)
- Specified by:
withPutFloat
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutFloat
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutFloat
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutFloat
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutFloat
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutFloat
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutFloat(java.lang.String[] aPathElements, java.lang.Float aValue)
- Specified by:
withPutFloat
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutFloat
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutFloat
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutFloat
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutFloat
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutInteger
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutInteger(java.lang.Object[] aPathElements, java.lang.Integer aValue)
- Specified by:
withPutInteger
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutInteger
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutInteger
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutInteger
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutInteger
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutInteger
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutInteger(java.lang.String[] aPathElements, java.lang.Integer aValue)
- Specified by:
withPutInteger
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutInteger
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutInteger
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutInteger
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutInteger
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutLong
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutLong(java.lang.Object[] aPathElements, java.lang.Long aValue)
- Specified by:
withPutLong
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutLong
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutLong
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutLong
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutLong
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutLong
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutLong(java.lang.String[] aPathElements, java.lang.Long aValue)
- Specified by:
withPutLong
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutLong
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutLong
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutLong
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutLong
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutShort
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutShort(java.lang.Object[] aPathElements, java.lang.Short aValue)
- Specified by:
withPutShort
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutShort
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutShort
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutShort
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutShort
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
withPutShort
public abstract AbstractObfuscationResourcePropertiesBuilderDecorator withPutShort(java.lang.String[] aPathElements, java.lang.Short aValue)
- Specified by:
withPutShort
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutShort
in interfaceObfuscationProperties.ObfuscationPropertiesBuilder
- Specified by:
withPutShort
in interfaceObfuscationResourceProperties.ObfuscationResourcePropertiesBuilder
- Specified by:
withPutShort
in interfaceorg.refcodes.configuration.Properties.PropertiesBuilder
- Specified by:
withPutShort
in interfaceorg.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
-
getEncryptPrefix
public java.lang.String getEncryptPrefix()
- Specified by:
getEncryptPrefix
in interfaceorg.refcodes.mixin.EncryptPrefixAccessor
-
setEncryptPrefix
public void setEncryptPrefix(java.lang.String aEncryptPrefix)
- Specified by:
setEncryptPrefix
in interfaceorg.refcodes.mixin.EncryptPrefixAccessor.EncryptPrefixMutator
-
getDecryptPrefix
public java.lang.String getDecryptPrefix()
- Specified by:
getDecryptPrefix
in interfaceorg.refcodes.mixin.DecryptPrefixAccessor
-
setDecryptPrefix
public void setDecryptPrefix(java.lang.String aDecryptPrefix)
- Specified by:
setDecryptPrefix
in interfaceorg.refcodes.mixin.DecryptPrefixAccessor.DecryptPrefixMutator
-
get
public java.lang.String get(java.lang.Object aKey)
- Specified by:
get
in interfaceorg.refcodes.structure.Keys<java.lang.String,T extends java.lang.Object>
- Specified by:
get
in interfacejava.util.Map<java.lang.String,T extends java.lang.Object>
- Overrides:
get
in classorg.refcodes.configuration.AbstractPropertiesDecorator<org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder>
-
put
public java.lang.String put(java.lang.String aKey, java.lang.String aValue)
- Specified by:
put
in interfaceorg.refcodes.structure.Keys.MutableValues<java.lang.String,T extends java.lang.Object>
- Specified by:
put
in interfacejava.util.Map<java.lang.String,T extends java.lang.Object>
- Overrides:
put
in classorg.refcodes.configuration.AbstractPropertiesBuilderDecorator<org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder>
-
encryptAll
protected boolean encryptAll()
Encrypts all values prefixed accordingly as returned bygetEncryptPrefix()
. The properties do not contain any "to-be-encrypted" values any more, them values then are encrypted. The changes are only done "in-memory" and are not applied to the resource. You mustAbstractResourcePropertiesBuilderDecorator.flush()
or otherwise save the properties to make the changes being reflected in the corresponding resources.- Returns:
- True when properties have been changed (encrypted) by this method.
-
encryptSet
protected java.util.Set<java.lang.String> encryptSet()
Returns aSet
of all the keys which's values are to be encrypted, e.g. which's values are prefixed with the prefix as returned bygetEncryptPrefix()
.- Returns:
- The key
Set
of all to be encrypted values.
-
-