Skip to content

Commit

Permalink
feat: Add method to GtfsFeedLoader to access GtfsTableDescriptors. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bdferris-v2 committed Sep 20, 2023
1 parent fa1dbcf commit 7264f75
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.common.flogger.FluentLogger;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
Expand Down Expand Up @@ -72,6 +73,10 @@ public GtfsFeedLoader(
}
}

public Collection<GtfsTableDescriptor<?>> getTableDescriptors() {
return Collections.unmodifiableCollection(tableDescriptors.values());
}

public String listTableDescriptors() {
return String.join(" ", tableDescriptors.keySet());
}
Expand Down

0 comments on commit 7264f75

Please sign in to comment.