public final class SnuggleSnapshot
extends java.lang.Object
SnuggleInputs by a SnuggleSession,
created via SnuggleSession.createSnapshot().
By calling createSession(), a new SnuggleSession with exactly the same state
as this snapshot is created, which can then be used further.
Clients might want to use this if they always need to read in some local/configuration SnuggleInputs
as it allows the results of these configurations to be reused without requiring re-parsing.
| 限定符和类型 | 方法和说明 |
|---|---|
SnuggleSession |
createSession()
Creates a new
SnuggleSession with exactly the same state as the
SnuggleSession that created this SnuggleSnapshot. |
public SnuggleSession createSession()
SnuggleSession with exactly the same state as the
SnuggleSession that created this SnuggleSnapshot.