tripkit-android / com.skedgo.tripkit.ui.utils / TripSegmentActionProcessor

TripSegmentActionProcessor

class TripSegmentActionProcessor

Constructors

Name Summary
<init> TripSegmentActionProcessor()

Properties

Name Summary
directionRegex val directionRegex:Regex
doubleSpaceReplace val doubleSpaceReplace:Regex
durationRegex val durationRegex:Regex
emptyRemoveRegex val emptyRemoveRegex:Regex
lineNameRegex val lineNameRegex:Regex
locationsRegex val locationsRegex:Regex
numberRegex val numberRegex:Regex
platformRegex val platformRegex:Regex
singleDotReplace val singleDotReplace:Regex
stopsRegex val stopsRegex:Regex
timeRegex val timeRegex:Regex
trafficRegex val trafficRegex:Regex

Functions

Name Summary
hasTime fun hasTime(segment:TripSegment):Boolean
processText fun processText(context: Context, segment:TripSegment, text:String, withTime:Boolean):String