Class Converters

java.lang.Object
org.apache.felix.gogo.shell.Converters
All Implemented Interfaces:
org.apache.felix.service.command.Converter

public class Converters extends Object implements org.apache.felix.service.command.Converter
  • Field Summary

    Fields inherited from interface org.apache.felix.service.command.Converter

    CONVERTER_CLASSES, INSPECT, LINE, PART
  • Constructor Summary

    Constructors
    Constructor
    Description
    Converters(org.osgi.framework.BundleContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.osgi.framework.Bundle
    bundle(org.osgi.framework.Bundle i)
     
    convert(Class<?> desiredType, Object in)
     
    format(Object target, int level, org.apache.felix.service.command.Converter converter)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Converters

      public Converters(org.osgi.framework.BundleContext context)
  • Method Details

    • bundle

      public org.osgi.framework.Bundle bundle(org.osgi.framework.Bundle i)
    • convert

      public Object convert(Class<?> desiredType, Object in) throws Exception
      Specified by:
      convert in interface org.apache.felix.service.command.Converter
      Throws:
      Exception
    • format

      public CharSequence format(Object target, int level, org.apache.felix.service.command.Converter converter) throws IOException
      Specified by:
      format in interface org.apache.felix.service.command.Converter
      Throws:
      IOException