Class TextForecast
- java.lang.Object
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.TextForecast
-
- All Implemented Interfaces:
java.lang.Comparable<TextForecast>
public class TextForecast extends java.lang.Object implements java.lang.Comparable<TextForecast>
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
content
java.lang.String
identifier
long
issued
java.lang.String
issued_text
boolean
outdated
long
polled
java.lang.String
subtitle
static java.lang.String
TIMESTAMP_PATTERN
java.lang.String
title
int
type
java.lang.String
webUrl
-
Constructor Summary
Constructors Constructor Description TextForecast()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TextForecast t1)
boolean
equals(TextForecast textForecast)
java.lang.String
getIssued()
java.lang.String
getLegacyUrlString()
java.lang.String
getUrlString()
void
parse(java.util.ArrayList<java.lang.String> source)
void
setFallBackIssued()
boolean
setIssued(java.lang.String timestring, int parsePosition)
-
-
-
Field Detail
-
TIMESTAMP_PATTERN
public static final java.lang.String TIMESTAMP_PATTERN
- See Also:
- Constant Field Values
-
identifier
public java.lang.String identifier
-
webUrl
public java.lang.String webUrl
-
content
public java.lang.String content
-
title
public java.lang.String title
-
subtitle
public java.lang.String subtitle
-
issued_text
public java.lang.String issued_text
-
type
public int type
-
issued
public long issued
-
polled
public long polled
-
outdated
public boolean outdated
-
-
Method Detail
-
parse
public void parse(java.util.ArrayList<java.lang.String> source)
-
setIssued
public boolean setIssued(java.lang.String timestring, int parsePosition)
-
setFallBackIssued
public void setFallBackIssued()
-
getIssued
public java.lang.String getIssued()
-
getUrlString
public java.lang.String getUrlString()
-
getLegacyUrlString
public java.lang.String getLegacyUrlString()
-
equals
public boolean equals(TextForecast textForecast)
-
compareTo
public int compareTo(TextForecast t1)
- Specified by:
compareTo
in interfacejava.lang.Comparable<TextForecast>
-
-