FileDocCategorySizeDatePackage
StringLogger.javaAPI DocAndroid 5.1 API1449Thu Mar 12 22:22:30 GMT 2015android.filterpacks.text

StringLogger

public class StringLogger extends android.filterfw.core.Filter
hide

Fields Summary
Constructors Summary
public StringLogger(String name)

        super(name);
    
Methods Summary
public voidprocess(android.filterfw.core.FilterContext env)

        Frame input = pullInput("string");
        String inputString = input.getObjectValue().toString();
        Log.i("StringLogger", inputString);
    
public voidsetupPorts()

        addMaskedInputPort("string", ObjectFormat.fromClass(Object.class,
                                                            FrameFormat.TARGET_SIMPLE));