Results 1 to 3 of 3

Thread: Files in Java

  1. #1
    reemcs is offline Member
    Join Date
    Jan 2016
    Posts
    1
    Rep Power
    0

    Default Files in Java

    Hello all..

    This is my first question :) please Hep Me ASAP :)

    How can I define a variable of type "file"??!

    I want to use serialization (object) to serialize an object , inside this object I have a PDF file. Is it doable?

    In general .. the Question is: If I have an object and inside this object I defined a file (or I have a file)-- >> Could we serialize this object?


    So:
    I want to use serialization to serialize a PDF file. Is it Doable?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: Files in Java

    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: Files in Java

    And the answer is given pretty much there.

    What exactly are you trying to achieve?
    What are you expecting to see after the Employee object is serialised?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 0
    Last Post: 12-29-2012, 08:59 PM
  2. Replies: 2
    Last Post: 06-11-2011, 01:54 PM
  3. Replies: 1
    Last Post: 10-03-2010, 06:29 AM
  4. Replies: 8
    Last Post: 07-30-2010, 05:47 PM
  5. conversion of java .class files to .java files
    By kotturupraveen in forum New To Java
    Replies: 2
    Last Post: 06-09-2008, 12:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •