Class Converters
java.lang.Object
org.apache.felix.gogo.shell.Converters
- All Implemented Interfaces:
org.apache.felix.service.command.Converter
-
Field Summary
FieldsFields inherited from interface org.apache.felix.service.command.Converter
CONVERTER_CLASSES, INSPECT, LINE, PART -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.Bundlebundle(org.osgi.framework.Bundle i) private ObjectconvertBundle(Object in) private Objectprivate CharSequencegetShortName(String name) private CharSequencegetShortNames(String[] list) private StringgetState(org.osgi.framework.Bundle bundle) private CharSequenceprint(org.osgi.framework.Bundle bundle) private CharSequenceprint(org.osgi.framework.ServiceReference<?> ref) private CharSequenceread(InputStream in)
-
Field Details
-
context
private final org.osgi.framework.BundleContext context
-
-
Constructor Details
-
Converters
public Converters(org.osgi.framework.BundleContext context)
-
-
Method Details
-
print
-
print
-
getShortNames
-
getShortName
-
getState
-
bundle
public org.osgi.framework.Bundle bundle(org.osgi.framework.Bundle i) -
convert
-
convertServiceReference
-
convertBundle
-
format
public CharSequence format(Object target, int level, org.apache.felix.service.command.Converter converter) throws IOException - Specified by:
formatin interfaceorg.apache.felix.service.command.Converter- Throws:
IOException
-
read
- Throws:
IOException
-