Java File Copy Library for Windows v.0.9.7

Advertisement
Advertisement

The Java File Copy Library is a software library that provides an easy and powerful API for file copy operations. You can define a batch of copy jobs with regular expressions and can use a Swing Component to show the overall copy progress.Before starting the copy operation you define the sources with a base directory and a search pattern defined by regular expressions. Then you define the copy destinations (yes, you can copy your files to several destinations at once). With the given sources and destinations you can define a copy job: Source[] sources = new Source[]{ // all files from directory /home/user/source1/ new Source("/home/user/source1/", ".*"), // all *.java files from directory /home/user/source2/ new Source("/home/user/source2/", ".*.java") }; String[] destinations = new String[]{ "/home/user/destination1", "/home/user/destination2" }; CopyJob copyJob = new CopyJob(sources, destinations); If you are done with defining your copy jobs you can let them execute by a FileCopier instance all at once. fileCopier.copy(copyJob1, copyJob2); This function uses Varargs for the parameters. This way you can throw as many copy jobs at a FileCopier at once as you want.If you want to see the progress of your copy operation in a GUI application, you can add a FileCopierPanel to your GUI application and give it a reference to your current FileCopier: FileCopier fileCopier = new FileCopier(); fileCopierPanel.setFileCopier(fileCopier); In GUI applications you should use a SwingWorker to execute the fileCopier.copy() operation.

The Java File Copy Library is a software ...

files, directory, application, string, source, regular, function

 
  • Java File Copy Library for Windows
  • 0.9.7
  • Ronny Standtke
  • Win All
  • Freeware
  • 133 Kb
  • 218
  • Free
 
 

Review Java File Copy Library for Windows

  • captcha
 

Other software of Ronny Standtke
  • Java File Copy Library  v.1.0The Java File Copy Library is a software library that provides an easy and powerful API for file copy operations. You can define a batch of copy jobs with regular expressions and can use a Swing Component to show the overall copy progress.
  • JBackpack  v.0.9.2JBackpack is a personal backup program.
  • NIO Framework  v.1.0The NIO Framework sits on top of the Java NIO library and hides most of the complexity of plain NIO. With the NIO Framework one can easily implement secure, high-performance Java network applications.

New Miscellaneous software
  • Bersoft HTML Print  v.9.09This programmer utility for printing HTML pages and images in an invisible way can be called from your application, passing either the file to print or a file list as a parameter.
  • Metamill  v.8.2.2022Metamill is a professional UML modeling tool. Supports UML 2.4 standard. All 14 UML diagrams supported. Round-trip engineering for Python, ADA, Java, C, C++, C# and VB.Net. RTF and HTML document generation. Fast and easy to use. www.metamill.com ...
  • RunETAC  v.2-0.1-6-enaThe ETAC programming language is a general purpose dictionary and stack based interpreted script programming language fully capable of traditional high-level block structured language style syntax.
  • SocialMedia driven App Developer  v.3.00If you could look 1 year ahead, would you want to see? The SocialMedia driven App Developer is calculating your Shareware's Success. Fine-tune as many cost-driving parameters as you want. See revenue and net profit results displayed over 48 months.
  • WxPropertyGrid for Windows  v.1.4.15wxPropertyGrid is a property sheet control for wxWidgets.
  • PL/XLS  v.1.0.1PL/XLS is a product that can produce Excel XML documents from data in an Oracle database as well as load data from Excel spreadsheets into an Oracle database.