|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class that implements this interface indicates that it is able to:
String
through its
toString()
method.
String
parameter. This constructor
thus performs the inverse operation of the toString()
method.
ToStringManager
class mediates the conversion to and from
a String
representation. The ToStringManager
will automatically detect that a class implements the
StringConversion
interface. Therefore classes implementing
this interface do not need to be registered via the
ToStringManager.registerConstructorSupportedConverter()
method in order for the conversion to and from String
to
take place. Explicit registration is intended for already existing
classes (e.g. java.net.URL
) that cannot or should not be
changed to include this interface in their implements clause.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.