Package org.apache.camel.maven.config
Class ConnectorConfigGeneratorUtils
- java.lang.Object
-
- org.apache.camel.maven.config.ConnectorConfigGeneratorUtils
-
public final class ConnectorConfigGeneratorUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
toTimeAsString(long timeMilli)
This will print time in human readable format from milliseconds.
-
-
-
Method Detail
-
toTimeAsString
public static String toTimeAsString(long timeMilli)
This will print time in human readable format from milliseconds. Examples: 500 -> will produce 500ms 1300 -> will produce 1s300ms 310300 -> will produce 5m10s300ms 6600000 -> will produce 1h50m- Parameters:
timeMilli
- time in milliseconds- Returns:
- time in string
-
-