Class StreamsJsonParser
- java.lang.Object
-
- org.jboss.set.aphrodite.stream.services.json.StreamsJsonParser
-
public class StreamsJsonParser extends Object
Simple parser to compartmentalize all those nasty operations.- Author:
- baranowb
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_CODEBASESstatic StringJSON_NAMEstatic StringJSON_STREAMSstatic StringJSON_UPSTREAMstatic StringJSON_VALUE_NULL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.json.JsonObjectencode(Collection<org.jboss.set.aphrodite.domain.Stream> toEncode)static Map<String,org.jboss.set.aphrodite.domain.Stream>parse(URL url)
-
-
-
Field Detail
-
JSON_STREAMS
public static final String JSON_STREAMS
- See Also:
- Constant Field Values
-
JSON_UPSTREAM
public static final String JSON_UPSTREAM
- See Also:
- Constant Field Values
-
JSON_CODEBASES
public static final String JSON_CODEBASES
- See Also:
- Constant Field Values
-
JSON_NAME
public static final String JSON_NAME
- See Also:
- Constant Field Values
-
JSON_VALUE_NULL
public static final String JSON_VALUE_NULL
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public static Map<String,org.jboss.set.aphrodite.domain.Stream> parse(URL url) throws NotFoundException
- Throws:
NotFoundException
-
encode
public static javax.json.JsonObject encode(Collection<org.jboss.set.aphrodite.domain.Stream> toEncode)
-
-