anl.aida.reader
Class NYTEntry
java.lang.Object
anl.aida.reader.NYTEntry
public class NYTEntry
- extends java.lang.Object
An article entry as represent by the JSON returned from the
NYT article search API.This class is automatically instantiated
and filled using Gson -- the JSON to java converter.
Field Summary |
private java.lang.String |
byline
|
private java.lang.String |
date
|
private java.lang.String |
title
|
private java.lang.String |
url
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
byline
private java.lang.String byline
date
private java.lang.String date
title
private java.lang.String title
url
private java.lang.String url
NYTEntry
public NYTEntry()
getByline
public java.lang.String getByline()
- Returns:
- the byline
getDate
public java.lang.String getDate()
- Returns:
- the date
getTitle
public java.lang.String getTitle()
- Returns:
- the title
getUrl
public java.lang.String getUrl()
- Returns:
- the url
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object