What type of files can we create in Java?

In general what type of files can we create in Java?
For example, we can create .dat and .txt files as follows:
DataOutputStream ostream;
ostream = new DataOutputStream(new FileOutputStream("myfile1.dat"));
or
ostream = new DataOutputStream(new FileOutputStream("myfile2.txt"));
Can we create ASCII?
Thank you in advance for your answers.

In general what type of files can we create in Java?You know that a file is nothing more than a series of ones and zeros, with eight of those bundled together as something called a byte. What they actually mean is what you make them to mean. Short: you can write and read any file type you like, but doing that semantically correct it is your responsibility.

Similar Messages

  • What type of files can JAVA read?

    Hi,
    I'm asking whether Java can read the font format files ( files with .afr & afm extensions from adobe)?
    I'm trying to do so but it cause an exception?
    Can you help please?

    In general what type of files can we create in Java?You know that a file is nothing more than a series of ones and zeros, with eight of those bundled together as something called a byte. What they actually mean is what you make them to mean. Short: you can write and read any file type you like, but doing that semantically correct it is your responsibility.

  • What type of files can I import to iMovie?

    I want to know what type of files can I import to iMovie. I recorded a video from a Windows PC, I want to edit it in iMovie but it's on .wmv so I ca't import it.
    What type of file do I need so I can import it to iMovie
    Thank you

    h264 in a mp4 should be fine ...
    (that's a very universal combo, should be avail on your Windows machine...)

  • What type of file can be used with file generator in Motion 4?

    Regarding using the File Generator in Motion 4, what type of file can be used? After clicking the browse button in the inspector tab,
    all files appear greyed out and are not selectable.
    Thanks!
    Richard

    Cool. Thanks GFXZen. I was stumped by TextEdit saving files in rich text format. Here is an article on how to save in plain text from TextEdit:
    http://support.apple.com/kb/TA20406

  • What type of files can be downloaded to the iPhone?

    I have some recorded business webinars I would like to listen to on my iPhone. What type of files can be downloaded? If they are saved on my computer do I use iTunes to get them to the phone?

    The iPhone supports the following audio & video files:
    Audio formats supported: AAC, Protected AAC, MP3, MP3 VBR, Audible (formats 2, 3, and 4), Apple Lossless, AIFF, and WAV
    Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    To get the files onto the iPhone just add them to your iTunes library. From there you can copy them over to the iPhone.

  • What type of files can I open in Photoshop Touch?

    Can I open a PSD file that I created in Photoshop (on my desktop computer) in PS Touch (on my tablet)?

    Photoshop Touch can open files in the following formats:
    PSD (only from Creative Cloud)
    PSDX
    PNG
    JPG
    GIF
    And, with a free plug-in for Photoshop CS5, you can open the PSDX files created by Photoshop Touch in Photoshop.
    More information about using Photoshop Touch with Photoshop CS5.

  • What types of files can I save in Document Cloud?

    Can you store other formats other than pdf of the document cloud?

    Hi Bavmanishere,
    Yes, you can store files of any formats over the document cloud. It acts like other cloud storage services.
    In case if you have further query please let us know. We will be happy to help you.
    Regards,
    Aadesh

  • When I start to download Firefox, I get a message that says "This type of file can harm your computer. Do yiu want to keep Firefox...p7.0.1.exe anyway? What does that mean and in what way can it harm my computer? Do I download it anyway?

    When I start to download Firefox, I get a message that says "This type of file can harm your computer. Do yiu want to keep Firefox...p7.0.1.exe anyway? What does that mean and in what way can it harm my computer? Do I download it anyway?

    You get that message any time you download an executable file. It is safe to open as long as you download from http://www.mozilla.org/en-US/firefox/new/

  • In tune show all summary activity during sync between nb and apple device. One of the summary is memory space status. Audio mayb3gb, photo 2gb, app with 3gb. What is other? Other consist of what type of file?

    In tune show all summary activity during sync between nb and apple device. One of the summary is memory space status. Audio mayb3gb, photo 2gb, app with 3gb. What is other? Other consist of what type of file? It show quite substantial storage capacity?? Anyone can answer what is in other??

    "Other" includes data such as contact information and photos assigned to contacts, calendar events, Safari bookmarks/cookies/history, notes created with the Notes application, SMS messages, email stored locally or cached, and 3rd party application data created and stored by the application.
    If "other" is more than say .75GB at the most, you had a corrupt sync. Try syncing again and if the problem persists, the recognized fix for this is to restore your iPad.

  • What Type Of File?

    I have defeated the format monster. The format monster being that Adobe Premiere Elements 10 will not support two videos at once or DSLR hardly at all. I defeated it by downloading a software which lets me convert videos into particular files. So, I need to know what type of file is best supported and convenienty used in APE 10. Can anyone tell me?

    The easiest thing to do would be to convert the Canon video to AVCHD. Then you can load both AVCHD videos into one project. But this will only work if you shot your Sony footage in FH or HQ 1920x1080 mode and you shot your Canon video at 1920x1080.
    1) Open a new Premiere Elements project. Make sure it's set up for DSLR 1920x1080p30.
    2) Plug your Canon camera into your computer via USB and use Get Media/From Flip, AVCHD or Hard Disk camcorder to open the Video Importer and import the files from the camera to your video project.
    3) Put the video on your timeline and use Share/Computer/AVCHD with the preset for M2T 1920x1080 30 fps to output your movie as an M2T file.
    4) Open a new project set up for Full AVCHD 1920x1080 with 5.1 audio (since your Sony shoots in 5.1).
    5) Use Get Media to bring in your Sony footage and the M2T files you created above and start editing.
    Or get version 11. In which you can just load it all at once and just edit!

  • What type of file is SES?

    I have converted old vhs tapes to the pc and they are showing up as SES files which
    windows can't open.  Any idea what type of file this is?  should I try to convert to AVI?

    >converted old vhs tapes to the pc
    How did you do this... what equipment and software did you use?
    When I use a Pinnacle Dv500 card to digitize tapes, the files are DV AVI type 2 with 16bit 48khz sound

  • What type of files are included as document and data on my iphone

    what type of files are included as document and data on my iPhone.  These files are showing a considerable amount of data being used but I don't know what type of things are included in this??

    Hello dsouz,
    Welcome to the Apple Support Communities!
    I understand wanting to know what data is being stored in Documents & Data and how to manage that space. You can view and remove what is being stored there using the instructions located in the attached article.
    iCloud: Remove documents from iCloud
    WARNING:    When you delete items that are stored in iCloud, they are removed from all your devices immediately and permanently.
    Remove iCloud documents using your iOS device
    On an iOS device set up for iCloud Documents & Data, do one of the following:
    With iOS 8: Go to Settings > iCloud > Storage, then tap Manage Storage.
    With iOS 7: Go to Settings > iCloud > Storage & Backup, then tap Manage Storage.
    Under Documents & Data, tap the app that has a document you want to delete, then tap Edit.
    Best regards,
    Joe

  • Sampling or Copying I get error "what type of file is this?"

    How can I sample .m4a files from itunes? Logic acts as if it does not recognize the file the first time then the second time it will ask me "what kind of file is this?". I've tried shortening the file name, converting the file in quicktime pro but it won't let me save the file under a different name. It's as if Logic Pro 7 has a mind of its own certain songs I just drag on to the arrange window and it copies fine others it does nothing please someone help me.

    these are copy protected files .m4a - i'm pretty sure.
    otherwise try changing the extension to a recognized format ie .mp3.
    or, open it in quictime and get info, it shoud tell you what type of file it is. then put the appropriate extension on the end

  • OverDrive Media Consol.  I get an error that says this type of file can not be played on this iPhone.

    I just upgraded my 3GS to ios 5.  Now I can not transfer a book using OverDrive Media Consol.  I get an error that says this type of file can not be played on this iPhone.  Also, the custom ring tones I created can not be played on the iphone anymore. 

    I just upgraded my 3GS to ios 5.  Now I can not transfer a book using OverDrive Media Consol.  I get an error that says this type of file can not be played on this iPhone.  Also, the custom ring tones I created can not be played on the iphone anymore. 

  • Distribution mobileprovision and Developer mobileprovision what kind of files can be uploaded

    Distribution mobileprovision and Developer mobileprovision what kind of files can be uploaded
    Hi
    Im trying to opload Distribution mobileprovision and Developer mobileprovision files in the DPS Viewer Builder, but cant see what i need
    I have tre .p12 setificats but none of them are able to be selected when i browse.
    Must be doing something wrong here, just wonder what ... can you hel?
    Helen

    Go through the attached Publishing Companion Guide. You need to create Mobile Provisioning files using Apple iOS provisioning Portal. The guide gives you step by step information on creating these.

Maybe you are looking for