public class StringCatalogReader extends Object implements CatalogReader
Constructor and Description |
---|
StringCatalogReader() |
Modifier and Type | Method and Description |
---|---|
Attribute |
getAttribute(String name) |
Map<String,Attribute> |
getAttributes() |
Category |
getCategory(String name) |
Event |
getEvent(String name) |
LocalDateTime |
getLastUpdated() |
Product |
getProduct(String name) |
CatalogData |
read() |
String |
readCatalog() |
public String readCatalog()
readCatalog
in interface CatalogReader
public CatalogData read()
read
in interface CatalogReader
public Map<String,Attribute> getAttributes()
getAttributes
in interface CatalogReader
public Attribute getAttribute(String name)
getAttribute
in interface CatalogReader
public Category getCategory(String name)
getCategory
in interface CatalogReader
public Event getEvent(String name)
getEvent
in interface CatalogReader
public Product getProduct(String name)
getProduct
in interface CatalogReader
public LocalDateTime getLastUpdated()
getLastUpdated
in interface CatalogReader
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.