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 4 of 4

Thread: How to find an embedded file type of a file using java

  1. #1
    Junior Member
    Join Date
    Jun 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to find an embedded file type of a file using java

    guys im really having a problem needs ur assistance regarding an issue and im searchiing a lot a lot but my issue isnt resolver issue i s: i want to find an embedded file extension i.e suppose if word file is there in that excel is also included then is should detect both file types word n excel and is is it possible to find an embedded file type


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: How to find an embedded file type of a file using java

    Welcome to the forum! Thank you for taking the time to learn to post code correctly. If you haven't already, please read this topic to learn other useful info for new members.

    What have you tried?

  3. #3
    Junior Member
    Join Date
    Jun 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to find an embedded file type of a file using java

    Quote Originally Posted by GregBrannon View Post
    Welcome to the forum! Thank you for taking the time to learn to post code correctly. If you haven't already, please read this topic to learn other useful info for new members.

    What have you tried?
    i mean im really confused over it 1st thing i checked To get the file name and file extension separately and now im trying " how to get the file name or file extension which is embedded in another file "

  4. #4
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: How to find an embedded file type of a file using java

    how to get the file name or file extension which is embedded in another file
    Load the contents of the other file
    Find the file name
    Determine the file name's extension

    Without more details, there's not much more we can do for you. Give an example of the other file, the code you've written to read the file and isolate the file name, and any attempts you've made at determining the file name's extension.

Similar Threads

  1. java cant find my sqlite file
    By xchan in forum JDBC & Databases
    Replies: 1
    Last Post: August 13th, 2013, 12:33 PM
  2. Very frustrating problem with writing to a file, cannot find file when overwriting.
    By lordofrandom in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: June 18th, 2013, 06:18 AM
  3. Reading a file and comparing them to an array to get the file type - java
    By tomb1992 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: March 4th, 2013, 06:13 PM
  4. how to get value path file from jsp form- input type file
    By meeGoreng in forum JavaServer Pages: JSP & JSTL
    Replies: 4
    Last Post: October 4th, 2011, 12:05 AM
  5. How to change File Type of a File Using java
    By akash169 in forum File I/O & Other I/O Streams
    Replies: 8
    Last Post: March 31st, 2010, 02:58 AM