|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.fedy2.weather.data.Atmosphere
public class Atmosphere
Information about atmospheric pressure, humidity, and visibility.
| Constructor Summary | |
|---|---|
Atmosphere()
|
|
Atmosphere(Integer humidity,
Float visibility,
Float pressure,
BarometricPressureState rising)
|
|
| Method Summary | |
|---|---|
Integer |
getHumidity()
Returns the humidity, in percent. |
Float |
getPressure()
Returns the barometric pressure, in the units specified by the pressure attribute of the units field in the Channel class. |
BarometricPressureState |
getRising()
Returns the state of the barometric pressure. |
Float |
getVisibility()
Returns the visibility, in the units specified by the distance attribute of the units field in the Channel class. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Atmosphere()
public Atmosphere(Integer humidity,
Float visibility,
Float pressure,
BarometricPressureState rising)
humidity - visibility - pressure - rising - | Method Detail |
|---|
public Integer getHumidity()
public Float getVisibility()
Channel class.
Note that the visibility is specified as the actual value * 100.
For example, a visibility of 16.5 miles will be specified as 1650. A visibility of 14 kilometers will appear as 1400.
public Float getPressure()
Channel class.
public BarometricPressureState getRising()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||