Uses of Interface
org.apache.jena.atlas.io.IOX.IOConsumer
Packages that use IOX.IOConsumer
-
Uses of IOX.IOConsumer in org.apache.jena.atlas.io
Methods in org.apache.jena.atlas.io with parameters of type IOX.IOConsumerModifier and TypeMethodDescriptionstatic booleanIOX.safeWrite(Path file, Path tmpFile, IOX.IOConsumer<OutputStream> writerAction) Write a file safely - the change happens (the function returns true) or something went wrong (the function throws a runtime exception) and the file is not changed.static booleanIOX.safeWrite(Path file, IOX.IOConsumer<OutputStream> writerAction) Write a file safely - the change happens (the function returns true) or something went wrong (the function throws a runtime exception) and the file is not changed.static booleanIOX.safeWriteOrCopy(Path file, Path tmpFile, IOX.IOConsumer<OutputStream> writerAction) Write a file safely, but allow system to use copy-delete if the chnage can not be done atomically.