@Beta
public class OsgiClassPrefixer
extends java.lang.Object
AbstractMemento.getType()
).
In that situation, the code writing the field must include the prefix (e.g. see
MementosGenerators
.Constructor and Description |
---|
OsgiClassPrefixer() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<java.lang.String> |
getPrefix(java.lang.Class<?> type) |
boolean |
hasPrefix(java.lang.String type) |
com.google.common.base.Optional<java.lang.String> |
stripMatchingPrefix(org.osgi.framework.Bundle bundle,
java.lang.String type) |
public com.google.common.base.Optional<java.lang.String> getPrefix(java.lang.Class<?> type)
public com.google.common.base.Optional<java.lang.String> stripMatchingPrefix(org.osgi.framework.Bundle bundle, java.lang.String type)
public boolean hasPrefix(java.lang.String type)