PTLog API - 1.0

jp.ne.dti.lares.foozy.ptlog.format
Interface ObjectFormatter

All Known Subinterfaces:
UniversalFormatter
All Known Implementing Classes:
DefaultObjectFormatter, DefaultUniversalFormatter

public interface ObjectFormatter

Abstraction to format "Object" value.


Method Summary
 boolean accepts(java.lang.Object value)
          Examine specified one is acceptable for implementation.
 java.lang.String format(java.lang.Object value)
          Format specified value.
 

Method Detail

accepts

public boolean accepts(java.lang.Object value)
Examine specified one is acceptable for implementation.

Implementation does not examine whether specified value is null or not, because it is responsibility of caller side.


format

public java.lang.String format(java.lang.Object value)
Format specified value.

Implementation does not examine whether specified value is null or not, because it is responsibility of caller side.


PTLog API - 1.0