FlightNumberEntity
Stay organized with collections
Save and categorize content based on your preferences.
A flight number entity extracted from a piece of text. It provides the detected values for
the airline and flight number.
Inherited Constant Summary
Public Method Summary
String
|
getAirlineCode()
Returns the IATA airline designator detected for this entity (two or three
letters String).
|
String
|
getFlightNumber()
Returns the flight number detected for this entity (1 to 4 digit number,
represented as a String).
|
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public String getAirlineCode ()
Returns the IATA airline designator detected for this entity (two or three letters
String).
public String getFlightNumber ()
Returns the flight number detected for this entity (1 to 4 digit number, represented
as a String).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eFlightNumberEntity\u003c/code\u003e provides extracted airline and flight number information from text.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the \u003ccode\u003eEntity\u003c/code\u003e class and is identified by \u003ccode\u003eTYPE_FLIGHT_NUMBER\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve the airline code using \u003ccode\u003egetAirlineCode()\u003c/code\u003e (two or three letter IATA code).\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve the flight number using \u003ccode\u003egetFlightNumber()\u003c/code\u003e (1 to 4 digit number as a String).\u003c/p\u003e\n"]]],[],null,[]]