Class FlightCodeParser

java.lang.Object
org.deltava.util.FlightCodeParser

public class FlightCodeParser extends Object
A utility class to parse flight codes.
Since:
1.0
Version:
10.0
Author:
Luke
  • Method Details

    • parse

      public static Flight parse(String fCode)
      Parses a flight code into a schedule entry.
      Parameters:
      fCode - the flight Code
      Returns:
      the Schedule entry, or null
    • parse

      public static Flight parse(String fCode, String defaultAirlineCode)
      Parses a flight code into a schedule entry.
      Parameters:
      fCode - the flight Code
      defaultAirlineCode - the default airline code to use
      Returns:
      the Schedule entry, or null