Package de.intarsys.tools.file
Class SynchTools
java.lang.Object
de.intarsys.tools.file.SynchTools
Tool methods to implement a file based synchronization with other platform
processes.
This is especially useful for synchronizing in shell scripting integration scenarios, in conjunction with some commandline based access to this methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
delSynchFile
(File file) static byte[]
getBytes()
static File
static void
setBytes
(byte[] bytes) static void
setSynchFile
(File file) static void
setSynchFile
(File file, byte[] bytes) static void
setSynchFile
(File file, String value) static void
waitSynchFile
(File file, int timeout)
-
Constructor Details
-
SynchTools
public SynchTools()
-
-
Method Details
-
delSynchFile
- Throws:
IOException
-
getBytes
public static byte[] getBytes() -
getSynchFile
- Throws:
IOException
-
setBytes
public static void setBytes(byte[] bytes) -
setSynchFile
- Throws:
IOException
-
setSynchFile
- Throws:
IOException
-
setSynchFile
- Throws:
IOException
-
waitSynchFile
- Throws:
IOException
-