mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
migrated old network ids to new enum based ids
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@402 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
90cf8234b7
commit
e6c560a4f4
36 changed files with 284 additions and 50 deletions
|
@ -14,6 +14,7 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package de.schildbach.pte;
|
||||
|
||||
import java.text.DateFormat;
|
||||
|
@ -28,9 +29,15 @@ import de.schildbach.pte.util.ParserUtils;
|
|||
*/
|
||||
public class IvbProvider extends AbstractEfaProvider
|
||||
{
|
||||
public static final String NETWORK_ID = "efa.ivb.at";
|
||||
public static final NetworkId NETWORK_ID = NetworkId.IVB;
|
||||
public static final String OLD_NETWORK_ID = "efa.ivb.at";
|
||||
private final static String API_BASE = "http://efa.ivb.at/ivb/";
|
||||
|
||||
public NetworkId id()
|
||||
{
|
||||
return NETWORK_ID;
|
||||
}
|
||||
|
||||
public boolean hasCapabilities(Capability... capabilities)
|
||||
{
|
||||
for (final Capability capability : capabilities)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue