T - the class of the objects to stringify@InterfaceAudience.Public @InterfaceStability.Stable public interface Stringifier<T> extends Closeable
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | close()Closes this object. | 
| T | fromString(String str)Restores the object from its string representation. | 
| String | toString(T obj)Converts the object to a string representation | 
String toString(T obj) throws IOException
obj - the object to convertIOException - if the object cannot be convertedT fromString(String str) throws IOException
str - the string representation of the objectIOException - if the object cannot be restoredvoid close() throws IOException
close インタフェース内 AutoCloseableclose インタフェース内 CloseableIOException - if an I/O error occursCopyright © 2016 Apache Software Foundation. All rights reserved.