-
public class Formats
-
-
Method Summary
-
-
Method Detail
-
asVersion
final GradleVersion asVersion(String value, Integer partsTaken)
-
versionAtLeast
final Boolean versionAtLeast(String actual, String required)
-
versionUnknown
final GradleVersion versionUnknown()
-
asJson
final JsonNode asJson(InputStream input)
-
toObjectFromJson
final <T extends Any> T toObjectFromJson(String json)
-
toObjectFromJson
final <T extends Any> T toObjectFromJson(InputStream input, Class<T> clazz)
-
toMapFromJson
final Map<String, Any> toMapFromJson(JsonNode jsonNode)
-
toMapFromJson
final Map<String, Any> toMapFromJson(InputStream input)
-
toMapFromJson
final Map<String, Any> toMapFromJson(String text)
-
toListFromJson
final List<Any> toListFromJson(JsonNode jsonNode)
-
asYml
final JsonNode asYml(InputStream input)
-
asHtml
final Document asHtml(InputStream input)
-
asXml
final Document asXml(InputStream input)
-
toPassword
final String toPassword(String value)
-
toHashCodeHex
final String toHashCodeHex(Object value)
-
toChecksum
final String toChecksum(File file)
-
toChecksumFile
final File toChecksumFile(File file)
-
fileSizeBytesToHuman
final String fileSizeBytesToHuman(Long bytes)
-
percentExplained
final String percentExplained(Integer current, Integer total)
-
percentExplained
final String percentExplained(Long current, Long total)
-
localDateTimeAt
final LocalDateTime localDateTimeAt(Long timestamp, ZoneId zoneId)
-
dateFileName
final String dateFileName(Date date)
-
durationSince
final String durationSince(Long millis)
-
durationFit
final Boolean durationFit(Long thenMillis, ZoneId thenZoneId, Long durationMillis)
-
rootProjectPath
final String rootProjectPath(File file, Project project)
-
rootProjectPath
final String rootProjectPath(String path, Project project)
-
projectPath
final String projectPath(File file, Project project)
-
projectPath
final String projectPath(String path, Project project)
-
relativePath
final String relativePath(String path, String basePath)
-
normalizePath
final String normalizePath(String path)
-
-
-
-