Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Creating Second File after specific length of First File

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Creating Second File after specific length of First File

    I am creating a log file in android.
    I am facing a problem while creating a file as i want to create a log file with name 'log_file' and after the logfile size is 200MB
    It should create a new logfile with name log_file(1).
    Can anyone plz provide me java code for the same????


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    6,103
    My Mood
    Mellow
    Thanks
    244
    Thanked 755 Times in 741 Posts

    Default Re: Creating Second File after specific length of First File

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

    Please make an effort to post threads in the most appropriate sub-forum. Moved to Android Development.

Similar Threads

  1. MultipartEntity content length not same as file size
    By sideburn in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: August 30th, 2013, 04:40 PM
  2. File reading from a specific point on a line
    By lordofrandom in forum What's Wrong With My Code?
    Replies: 3
    Last Post: May 13th, 2013, 11:25 PM
  3. search for specific line in the file
    By Rajitha in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 16th, 2012, 10:18 AM
  4. Write ascii in a specific position of the file
    By generalitico in forum File I/O & Other I/O Streams
    Replies: 5
    Last Post: November 11th, 2010, 04:40 AM