org.mortbay.util.ajax
Class JSON.StringSource
java.lang.Object
org.mortbay.util.ajax.JSON.StringSource
- All Implemented Interfaces:
- JSON.Source
- Enclosing class:
- JSON
public static class JSON.StringSource
- extends Object
- implements JSON.Source
JSON.StringSource
public JSON.StringSource(String s)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface JSON.Source
next
public char next()
- Specified by:
next
in interface JSON.Source
peek
public char peek()
- Specified by:
peek
in interface JSON.Source
toString
public String toString()
- Overrides:
toString
in class Object
scratchBuffer
public char[] scratchBuffer()
- Specified by:
scratchBuffer
in interface JSON.Source
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.