Is there any way to format a text file while writing it in java ?

Heyya Fellas,
I am working on a project and at the end of the process, the project should generate a report file in .txt format in the location prescribed by user. I am able to generate it and do all the processing but can i the report in a more presentable way. Like is there any method in java code so that we can make the text in the report file appear bold or italic while writing a file in java in runtime?
Please help me.. any gist or click will be a favor.
Thanks and Cheers
Phoenix

masijade. wrote:
Text is text, nothing more, nothing less. Any "effects" to the text (i.e. bold, italic, underlined, striked, whatever) can only be acheived through some type of markup (i.e. html markup or rtf/pdf formats and the like). The text itself can never be bold or italic.
If you are producing csv, then html style markup is a definate candidate, if you are producing reports than look into iText for creating pdf documents.I beleive dats it..
Actually i am hitting a JSP's URL and it inturn calls a servlet and then the process takes place..
and i generate the specified output file..
The files are generated and every thig is working fine but i wanted to add that extra bit of a gloss to report.
Well thanks for the response.

Similar Messages

  • I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I have written a binary file with a specific header format in LABVIEW 8.6 and tried  to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I can think of two possible stumbling blocks:
    What are your 8.6 options for "byte order" and "prepend array or string size"?
    Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
    LabVIEW Champion . Do more with less code and in less time .

  • Is there any way to LOCK/save text messages?

    Is there any way to LOCK/save text messages?

    Not really, except with third-party apps:
    https://discussions.apple.com/message/15205763#15205763
    https://discussions.apple.com/message/5537905#5537905

  • I have an iPad 3 or the new iPad with the normal charger.. my iPad is not starting is there any way to format it? if not will the apple guys be able to access my data?

    I have an iPad 3 or the new iPad with the normal charger.. my iPad is not starting is there any way to format it? if not will the apple guys be able to access my data?

    Honestly, I don't think that they have any other way of accessing anything on the iPad than any other user has. The Apple Store genius will just put the device through the standard troubleshooting steps - in your case probably try to restore the device to factory settings and if that doesn't work, then they will make some sort of offer for a replacement assuming that your iPad is still under warranty.
    If I'm not mistaken they will probably erase the device in order to try to "fix" it. That's what restoring to factory settings does. I assumed that you were concerned about losing data - but if you are concerned that they are going to see something that you don't want them to see or access, I'm pretty sure that's not going to happen.

  • Is there any way to set auot text replay in iPhone?

    is there any way to set auot text replay in iPhone?

    No, because you can't set a columns view default.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Is there any way to see a text history from an Iphone???

    Is there any way to see a text history from an Iphone that has been synced to Itunes account???

    SMS's are not synced through iTunes. Your SMS history is stored on your phone and also included as part of your iPhone backup. To view SMS's on your computer requires either extracting them from your phone or from your iPhone backup. Either or requires third-party software, as such is not supported by Apple. clayfromherriman has given you a way to extract from your backup. To extract from your phone, you can use this:
    http://www.wideanglesoftware.com/touchcopy/index.php

  • Is there any way to retrieve deleted texts messages from KIN TWO M?

    is there any way to retrieve deleted texts messages on KIN TWO M?

    Unfortunately, no, not unless you had them backed up somewhere (like with bitpim software).  Once the texts are deleted from the phone, they're gone.

  • Yesterday i bougt a used iphone 4....when i tried to reset it it asked for the apple ID which of the person from whom i bought the cell...so is there any way of formating the iphone

    yesterday i bougt a used iphone 4....when i tried to reset it it asked for the apple ID which is of the person from whom i bought the cell...so is there any way of formating the iphone.............plzz help me 

    i have the phone unlockd but need to restore it to factory settings nd when i do it ...it asks for the apple id and passord of the guy from whom i bought it.......is there no way to restore it to factory setting

  • I am working on a PC.  My InDesign CS6 was working but is now missing its amtlib.dll file.  To fix it it says to reinstall program but I was am idiot and didn't make a copy.  Is there any way to reinstall this missing file?

    I am working on a PC.  My InDesign CS6 was working but is now missing its amtlib.dll file.  To fix it it says to reinstall program but I was am idiot and didn't make a copy.  Is there any way to reinstall this missing file?

    It was bought for my son and he never registered it. 
    I still don't understand why Neema was trying to reinstall it when she didn't have the serial number but after she uninstalled it, said she couldn't reinstall it because I didn't have the serial number.  I never had it yet she didn't have a problem with trying to install it originally.
    Still won't buy another Adobe product again.  I've talked to a lot of people who can't stand Adobe and I now know why.  I can't even update Flash without my whole system crashing or getting a virus.
    I won't re-purchase InDesign either.  I realize it should have been registered and I explained that my email had been hacked and my proof of purchase was deleted with ALL of my emails and I also had a major virus after updating Flash.
    I can't afford to buy the same product twice.
    I will find out what other formats my book distributor (Ingram Books) accepts and purchase that program.
    Not impressed with Adobe and will share my experience with others so they can be sure to register their product and make a copy of the program BEFORE allowing an Adobe employee to take control of their computers.
    If you knew the answer to my question, customer support should have too.
    Thanks for your help.
    Denise

  • I share an itunes account with me mum is there any way to split my phone off while not deleteing my mums stuff as well

    i share an itunes account with me mum is there any way to split my phone off while not deleteing my mums stuff as well?

    You can select with items so sync if you dont want everything on there. Just click the iphone in itunes and click music. THere you can pick and choose what you sync.

  • Is there any way to create 3D PDF file without having the model tree ?

    Is there any way to create 3D PDF file without having the model tree ?
    3D communication is good but sometime we don't want the receiver to be able to study every components in model.
    or any way to make the receiver cannot use model tree and measurement tool ????
    Thank you very much

    You can remove the assembly tree by doing a roundtrip in 3D Toolkit, here's how:
    - start Acrobat 3D
    - drag & drop a CAD file
    - click on 3D Annot to activate
    - right-click on 3D
    - select 'Edit in 3D Toolkit'
    - 3D Toolkit launches
    - click in 'Scene Tree' panel
    - right-click on top assembly name
    - select 'Tools->Collapse Hierarchy'
    - select 'File->Save'
    - select 'File->Exit'

  • Is there any way to create a setup file Like Visual Basic

    Hi,
    I want to create a setup file of all developed foms and reports to install them to desireable location, is there any way to create a setup file in oracle, Like Vb.
    Raza

    I believe there is something from Oracle but it was frustratingly buggy when I used it a few years back and only worked via the Oracle installer.
    Personally, I'd recommend something like Innosetup, which is freeware and a Windows-style installer much like InstallShield etc. so it'll create an executable setup file probably OK if they've already got the Oracle Runtime components installed.

  • Is there any way to embed the pdf file in the book created in iBooks Author to make it available to be downloaded or sent to email? So that the user can print it out.

    Is there any way to embed the pdf file in the book created in iBooks Author to make it available to be downloaded or sent to email?
    I'm making the book for children and there is one chapter providing coloring pages. So I wish to attach pdf files that allow users to download it at the end of chapter so that  they can print it out. Been searching through discussion, I've found some advice about taking screen snapshot page-by-page > then send the pics from photo album to email. However, I'm wondering if there's a way that make the process easier.

    Warehouse that PDF on your own server, then link to it from your book.
    Ken

  • Is there any way we can save PDF files of 1.8v & 1.9v to 1.4v using plug-in?

    is there any way we can save PDF files of 1.8v & 1.9v to 1.4v using plug-in? (using PDDocSavePara )

    Something like this.
    Change VER variable to version number as you need. ex. VER = 7 -> PDF 1.7
    pdoc = AVDocGetPDDoc(avDoc);
    PDDocSaveParams saveParams;
    unsigned char buffer[sizeof(_t_PDDocSaveParams)];
    saveParams = (PDDocSaveParams)buffer;
    memset(saveParams, 0, sizeof(_t_PDDocSaveParams));
    saveParams->fileSys = ASGetDefaultFileSys();
    saveParams->major = 1;
    saveParams->minor = VER;  //change version here
    saveParams->saveFlags = PDSaveFull | PDSaveCollectGarbage | PDSaveForceIncremental | PDSaveKeepModDate;
    saveParams->size = sizeof (_t_PDDocSaveParams);
    saveParams->saveFlags2 = PDSaveUncompressed;
    PDDocSaveWithParams (pdoc, saveParams);

  • Is there any way to import the PST file to Thunderbird

    My boss used Outlook 2010 to store all his emails. Is there any way to import the PST file to Thunderbird so he can access them from a new computer?
    Thunderbird cannot be installed on the old computer and Outlook is not on the new computer. All information is saved in a PST file on our local backup.
    Alternatively, is there a way to convert to a file type that CAN be imported? This is a 5GB file. (I know, I KNOW, but I cannot convince him he doesn't need all of these emails.)

    Does he use an e-mail provider with sufficient mailbox space? In that case, you can move the e-mail back to the server and download it using Thunderbird.
    This only works when you configure the e-mail account with IMAP (not POP3).
    Hope this helps.

Maybe you are looking for

  • Document retrieval from 3rd party DMS

    Hi Experts, I need to retrieve a pdf file from an external DMS. i have to write a program that will: 1. Display the list of released Prod Orders (ALV) - done 2. Open the Corresponding BMR(batch manufacturing record) for the specified Released PO. 3.

  • The NTVDM CPU has encountered an illegal instruction

     Hello, I have a problem with my laptop. Once I sign into Windows I get this error message: C:\Windows\system32\userinit.exe The NTVDM CPU has encountered an illegal instruction. CS:11d8 IP:0109 OP: ff ff ff 90 be choose 'Close' to terminate the appl

  • How to enhance IT 1001 additional data screen.

    Hi Folks, I want to enhance IT1001 additional data screen, (I want to add two fields on the screen), the table of it is HRPAD34 and it also contains CI include, But When i try to enhance it through PPCI T-code, I'm unable to do it, Can any buddy sugg

  • Verizon htc 8x with ntt docomo sim

    I am using htc 8x by sim of ntt docomo. I can perform dispatch and arrival of a telephone normally. If the web page is seen by Internet Explorer, I am no longer displayed suddenly. I can display, if a power supply is reswitched on. Those who are usin

  • MAster Collection programs doesn't working properly

    Photoshop, Illustrator and Flash these programs couldn't open on my macbook pro after installed the OS Yosemite??? How can I resolve it?