    

 ## On this page

  

 

 # fromString

 Last update: 16.07.2025 

abstract fun [fromString](from-string.md)(state: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))

Called to restore the state of a Plug-In. Should be able to restore the state from whatever string is returned by [toString](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--).

#### Parameters

statethe state string#### Throws

[Exception](https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html)