當前位置: 首頁>>代碼示例>>Java>>正文


Java GRoute.getRouteLongName方法代碼示例

本文整理匯總了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;
}
 
開發者ID:mtransitapps,項目名稱:ca-sudbury-transit-bus-parser,代碼行數:9,代碼來源:SudburyTransitBusAgencyTools.java

示例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);
}
 
開發者ID:mtransitapps,項目名稱:ca-maritime-bus-parser,代碼行數:8,代碼來源:MaritimeBusAgencyTools.java

示例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);
}
 
開發者ID:mtransitapps,項目名稱:ca-regina-transit-bus-parser,代碼行數:9,代碼來源:ReginaTransitBusAgencyTools.java

示例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);
}
 
開發者ID:mtransitapps,項目名稱:ca-toronto-ttc-subway-parser,代碼行數:8,代碼來源:TorontoTTCSubwayAgencyTools.java

示例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);
}
 
開發者ID:mtransitapps,項目名稱:ca-london-transit-bus-parser,代碼行數:7,代碼來源:LondonTransitBusAgencyTools.java

示例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);
}
 
開發者ID:mtransitapps,項目名稱:ca-edmonton-ets-bus-parser,代碼行數:7,代碼來源:EdmontonETSBusAgencyTools.java

示例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


注:本文中的org.mtransit.parser.gtfs.data.GRoute.getRouteLongName方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。