本文整理匯總了Java中org.mtransit.parser.gtfs.data.GRoute.getRouteLongName方法的典型用法代碼示例。如果您正苦於以下問題:Java GRoute.getRouteLongName方法的具體用法?Java GRoute.getRouteLongName怎麽用?Java GRoute.getRouteLongName使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.mtransit.parser.gtfs.data.GRoute
的用法示例。
在下文中一共展示了GRoute.getRouteLongName方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.cleanSlashes(routeLongName);
routeLongName = CleanUtils.cleanStreetTypes(routeLongName);
routeLongName = CleanUtils.cleanNumbers(routeLongName);
return routeLongName;
}
示例2: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.removePoints(routeLongName);
routeLongName = CleanUtils.cleanStreetTypes(routeLongName);
return CleanUtils.cleanLabel(routeLongName);
}
開發者ID:mtransitapps,項目名稱:ca-st-catharines-transit-bus-parser,代碼行數:8,代碼來源:StCatharinesTransitBusAgencyTools.java
示例3: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.cleanNumbers(routeLongName);
routeLongName = CleanUtils.cleanStreetTypes(routeLongName);
return CleanUtils.cleanLabel(routeLongName);
}
開發者ID:mtransitapps,項目名稱:ca-victoria-regional-transit-system-bus-parser,代碼行數:8,代碼來源:VictoriaRegionalTransitSystemBusAgencyTools.java
示例4: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = RLN_TO_RLN.matcher(routeLongName).replaceAll(RLN_TO_RLN_REPLACEMENT);
routeLongName = CleanUtils.SAINT.matcher(routeLongName).replaceAll(CleanUtils.SAINT_REPLACEMENT);
return CleanUtils.cleanLabel(routeLongName);
}
示例5: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.SAINT.matcher(routeLongName).replaceAll(CleanUtils.SAINT_REPLACEMENT);
routeLongName = CLEAN_CHAMBLY_LONGIEUIL.matcher(routeLongName).replaceAll(CLEAN_CHAMBLY_LONGIEUIL_REPLACEMENT);
routeLongName = CLEAN_P1.matcher(routeLongName).replaceAll(CLEAN_P1_REPLACEMENT);
routeLongName = CLEAN_P2.matcher(routeLongName).replaceAll(CLEAN_P2_REPLACEMENT);
return CleanUtils.cleanLabel(routeLongName);
}
開發者ID:mtransitapps,項目名稱:ca-chambly-richelieu-carignan-citcrc-bus-parser,代碼行數:10,代碼來源:ChamblyRichelieuCarignanCITCRCBusAgencyTools.java
示例6: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.SAINT.matcher(routeLongName).replaceAll(CleanUtils.SAINT_REPLACEMENT);
routeLongName = CleanUtils.CLEAN_PARENTHESE1.matcher(routeLongName).replaceAll(CleanUtils.CLEAN_PARENTHESE1_REPLACEMENT);
routeLongName = CleanUtils.CLEAN_PARENTHESE2.matcher(routeLongName).replaceAll(CleanUtils.CLEAN_PARENTHESE2_REPLACEMENT);
return CleanUtils.cleanLabel(routeLongName);
}
開發者ID:mtransitapps,項目名稱:ca-quebec-orleans-express-bus-parser,代碼行數:9,代碼來源:QuebecOrleansExpressBusAgencyTools.java
示例7: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.SAINT.matcher(routeLongName).replaceAll(CleanUtils.SAINT_REPLACEMENT);
routeLongName = SECTEUR.matcher(routeLongName).replaceAll(SECTEUR_REPLACEMENT);
return CleanUtils.cleanLabel(routeLongName);
}
開發者ID:mtransitapps,項目名稱:ca-l-assomption-mrclasso-bus-parser,代碼行數:8,代碼來源:LAssomptionMRCLASSOBusAgencyTools.java
示例8: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = routeLongName.toLowerCase(Locale.ENGLISH);
routeLongName = INDUSTRIAL.matcher(routeLongName).replaceAll(INDUSTRIAL_REPLACEMENT);
routeLongName = CleanUtils.cleanStreetTypes(routeLongName);
return CleanUtils.cleanLabel(routeLongName);
}
示例9: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = routeLongName.toLowerCase(Locale.ENGLISH);
routeLongName = EXTRACT_RLN.matcher(routeLongName).replaceAll(EXTRACT_RLN_REPLACEMENT);
return CleanUtils.cleanLabel(routeLongName);
}
示例10: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.SAINT.matcher(routeLongName).replaceAll(CleanUtils.SAINT_REPLACEMENT);
routeLongName = CleanUtils.cleanSlashes(routeLongName);
return CleanUtils.cleanLabel(routeLongName);
}
開發者ID:mtransitapps,項目名稱:ca-la-presqu-ile-citpi-bus-parser,代碼行數:8,代碼來源:LaPresquIleCITPIBusAgencyTools.java
示例11: cleanRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
private String cleanRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.SAINT.matcher(routeLongName).replaceAll(CleanUtils.SAINT_REPLACEMENT);
return CleanUtils.cleanLabel(routeLongName);
}
開發者ID:mtransitapps,項目名稱:ca-sorel-varennes-citsv-bus-parser,代碼行數:6,代碼來源:SorelVarennesCITSVBusAgencyTools.java
示例12: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.SAINT.matcher(routeLongName).replaceAll(CleanUtils.SAINT_REPLACEMENT);
return CleanUtils.cleanLabel(routeLongName);
}
開發者ID:mtransitapps,項目名稱:ca-richelieu-citvr-bus-parser,代碼行數:7,代碼來源:ValleeDuRichelieuCITVRBusAgencyTools.java
示例13: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = routeLongName.toLowerCase(Locale.ENGLISH);
return CleanUtils.cleanLabel(routeLongName);
}
示例14: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String gRouteLongName = gRoute.getRouteLongName();
gRouteLongName = CleanUtils.cleanStreetTypes(gRouteLongName);
return CleanUtils.cleanLabel(gRouteLongName);
}
示例15: getRouteLongName
import org.mtransit.parser.gtfs.data.GRoute; //導入方法依賴的package包/類
@Override
public String getRouteLongName(GRoute gRoute) {
String routeLongName = gRoute.getRouteLongName();
routeLongName = CleanUtils.cleanStreetTypes(routeLongName);
return CleanUtils.cleanLabel(routeLongName);
}
開發者ID:mtransitapps,項目名稱:ca-gtha-go-transit-train-parser,代碼行數:7,代碼來源:GTHAGOTransitTrainAgencyTools.java