de.intarsys.tools.file
Class SynchTools
java.lang.Object
de.intarsys.tools.file.SynchTools
public class SynchTools
- extends Object
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.
SynchTools
public SynchTools()
delSynchFile
public static void delSynchFile(File file)
throws IOException
- Throws:
IOException
getBytes
public static byte[] getBytes()
getSynchFile
public static File getSynchFile()
throws IOException
- Throws:
IOException
setBytes
public static void setBytes(byte[] bytes)
setSynchFile
public static void setSynchFile(File file)
throws IOException
- Throws:
IOException
setSynchFile
public static void setSynchFile(File file,
byte[] bytes)
throws IOException
- Throws:
IOException
setSynchFile
public static void setSynchFile(File file,
String value)
throws IOException
- Throws:
IOException
waitSynchFile
public static void waitSynchFile(File file,
int timeout)
throws IOException
- Throws:
IOException
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.