Class IO
java.lang.Object
com.cleanroommc.gradle.api.util.IO
-
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedInputStreambufferedIn(File file) static voiddownloadWithETag(String url, File dest) static FileInputStreamstatic voidnormalizeZip(Path path) Rewrites a ZIP with stable entry order and timestamps.static FileOutputStreamstatic BufferedReaderreader(InputStream is, Charset charset) static BufferedReaderstatic <T> Tstatic <T> TreadJson(InputStream stream, Class<T> type) static <T> Tstatic <T> Tstatic FilerunDir(File projectDir, String version, Environment env, Side side) static Stringstatic Stringstatic booleanstatic booleanstatic ZipInputStreamstatic ZipOutputStream
-
Method Details
-
readJson
-
readJson
-
readJson
-
readJson
-
sha1
-
sha1
-
sha1Match
-
sha1Match
-
out
- Throws:
FileNotFoundException
-
in
- Throws:
FileNotFoundException
-
bufferedIn
- Throws:
FileNotFoundException
-
zipOut
- Throws:
FileNotFoundException
-
zipIn
- Throws:
FileNotFoundException
-
normalizeZip
Rewrites a ZIP with stable entry order and timestamps. -
reader
- Throws:
IOException
-
reader
-
downloadWithETag
-
runDir
-