Search:

Type: Posts; User: kewlkeny

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,447

    Re: HOw to find out FileSystem Information

    @Kevin , Tried mate, dint work :(

    Any more class, which can provide file system info
  2. Replies
    7
    Views
    3,600

    Re: How to split a text file in no of chunks ?

    @deependeroracle - Thnks mate :) It really useful
  3. Replies
    4
    Views
    1,447

    Re: HOw to find out FileSystem Information

    I dont think there should be a reason to know some thing, anyways reason is i have some raw data, before i proceed to work on i have to check filesystem information where it present and all
    ...
  4. Replies
    4
    Views
    1,447

    HOw to find out FileSystem Information

    Hello, i've a query its regarding FileSystem information

    FileSystemView fileSystemView = FileSystemView.getFileSystemView();
    System.out.println(" File system list of roots");...
  5. Re: How to copy files from one directory to another directory

    Yep i found it by using org.apache.commons.io.FileUtils class

    import java.io.File;
    import java.io.IOException;

    import org.apache.commons.io.FileUtils;

    public class FileMover extends...
  6. How to copy files from one directory to another directory

    Hello, i may be asking very small question, but i could nt find how to do ? Anyways lemme give my code for copying all the files from one directory to another

    public class CopyingFile {
    static...
  7. Replies
    1
    Views
    5,356

    How to load class path for .properties file

    Hello, i have a .properties file in my spring porject out side src folder, i want to keep away from src folder
    i gave complet classpath as <property name="location"...
  8. Replies
    7
    Views
    3,600

    How to split a text file in no of chunks ?

    How to split a file based on size by no of chunks ?

    I have a text file 5 MB data, now i want to split this into 5 parts with 1Mb each, in to some other directory ?

    is it possible to split a...
  9. [SOLVED] Re: How to move files from one directory to another considering its size

    i am sorry, i found the logic

    that is


    public class App1 {

    File source = new File("/home/dev06/sourcefolder");
    File destination = new File("/home/dev06/temporaryfolder");
  10. [SOLVED] How to move files from one directory to another considering its size

    Hello, i am newbie in this forum, forgive me in case if i give my query in wrong place,

    My query is i have a directory consists of few files with different memory size, now i want to move the...
Results 1 to 10 of 10