Text content from BFILE

Dear friends,
I am trying to get text content out of my BFILE(a pdf or doc
file) how am i suppose to do it.
Best Regards
Sachin

I am trying to get text content out of my BFILE(a pdf or doc
file) how am i suppose to do it.You have to use the INSO Filter, wich create from pdf/doc/...
files an html output which Intermedia Text then uses for
indexing. See Documentation for details.
Regards,
Thomas

Similar Messages

  • Get text content from Linked TextFrames in order

    Hi,
    How can I get the text content out one by one in order for a linked textframes? Thanks.
    Henry

    for ID 2.0.2 in VBScript
    for a=1 to myStory.TextFrames.Count
    myContents = myStory.TextFrames.Item(a).TextContents
    next
    for ID CS1 and ID CS2 in VBScript
    for a=1 to myStory.TextFrames.Count
    myContents = myStory.TextFrames.Item(a).Contents
    next
    for ID CS3 in VBScript
    for a=1 to myStory.TextContainers.Count
    myContents = myStory.TextContainers.Item(a).Contents
    next
    robin
    www.adobescripts.com

  • Is there a way to include "Formatted Text" content from a form in the e-mail summary?

    I'd like to be able to include some of the content I've created in a form as "formatted text" in the email summary / notification.  Right now, only the fields that require the end user to input data of some type are included in the summary.  Is there a way to do this?
    Thanks,
    -Jeremy

    Hi,
    You can not include custom text in the notification email.  Only in the summary receipt email.  Can you explain what sort of text you want in the notification email?  Also, you may want to post this to the ideas section.  If others vote for it, there's a higher chance of us adding it in a future release.  The ideas forum can be found here - http://forums.adobe.com/community/formscentral?view=idea
    Thanks,
    Todd

  • Extract text content from office control - word

    Hi,
    I am using office control for word for entering long text.
    by what way can i extract unformatted text from office control?
    Thanks & Regards,
    -Haresh

    i've tried using GETCONTENT method of IF_IOS_WORDPROCESSING, but I don't know exact way of using it.
    If this is the one which can help me to get text contect, then can anybody tell me how will I be able to use it?

  • Finding then combining content from several indesign documents in one document

    Hi everyone,
    I wonder if someone can help...
    I'm trying to write scripts for indesign server which I want to:
    a) search for,
    b) pick out, then
    c) put together content from one or many indesign documents into a template on the server starting at a pre-defined point in the template. 
    After that we produce a pdf of the document to pass on / do whatever. I've got so far with the scripting documentation but I'm stuck!  This is what I've done so far:
    1/ create a document template with a script
    2/ add text elements to the document template (header and footnote, title,       body text i.e. intro and data, and the contact details)
    3/ add text / content from another indesign file into this       document (so far only done it with a .txt file) ...
    ... I'm stuck on the indesign documents at the moment.  I have       looked at various options, the most appropriate way I can see in       the manuals to get content from one document to another is by       duplicating.  My understanding is to do this you have to target the text in the source       document, duplicate it and then add it into a text frame on the       target document.  It's the targettting of the text and surrounding       elements in the source document I'm battling with. 
    any ideas on how I go about this effectively? 
    Any help and advice appreciated!

    The story so far...
    I've added the code kindly provided by getZinger (thanks again!) and am now stuck on the next stage, .  I've commented the code where I'm having problems, and essentially have two key issues to resolve:
    1/ how I get the documents to be placed one after the other, avoiding the overlay I get on the first insertion page.
       (I am using a fixed value as an insert point as the template I'm using will always have inserts starting on page 3).
    2/ how I access the pdf's I want to insert from a location other than C:\Users\Whoever\Documents\
    try{
    for(myCounter = app.documents.length; myCounter > 0; myCounter--){
    app.documents.item(myCounter-1).close (SaveOptions.no);
      myDocument = app.open(File("C:/.../template.indd"));
      myPDFFiles = ["pdf1.pdf","pdf2.pdf","pdf3.pdf"];
    insertPdf();
    function insertPdf(){
    //I've gone for a static number here as the datapage in the skeleton doc  is page 3.
    //This seems to result in some of the pages being placed on top of each  other :-(
        var myPage = myDocument.pages.item(2);
        /*var myPageNames = new Array;
        //Get the names of the pages in the document
        for(var myCounter = 0; myCounter < myDocument.pages.length;myCounter++){
            myPageNames.push(myDocument.pages.item(myCounter).name);
        var myPDFSet = File("C:/Users/Simon/Desktop/Mexico.pdf");
        for(myIndex=0;myIndex<myPDFFiles.length;myIndex++){
        myPDFSet = File(myPDFFiles[myIndex])
        myPlacePDF(myDocument, myPage, myPDFSet);
        myDocument.exportFile(ExportFormat.pdfType, new File("C:/.../test_insert.pdf"), false);
        myDocument.close(SaveOptions.no);
    }catch(e) { myDocument.close(SaveOptions.no); }
    function myPlacePDF(myDocument, myPage, myPDFSet){
    var myPDFPage;
    app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia;
    var myCounter = 1;
    var myBreak = false;
    while(myBreak == false){
    if(myCounter > 1){
    myPage = myDocument.pages.add(LocationOptions.after, myPage);
    app.pdfPlacePreferences.pageNumber = myCounter;
    //the files seem to be automatically placed from C:\Users\Whoever\Documents
    //I need to change this to accept a different file path somehow but I  don't know how
    //this is why the myPDFFiles array only has filenames at the moment
    myPDFPage = myPage.place(File(myPDFSet), [0,0])[0];
    if(myCounter == 1){
    var myFirstPage = myPDFPage.pdfAttributes.pageNumber;
    else{
    if(myPDFPage.pdfAttributes.pageNumber == myFirstPage){
    myPage.remove();
    myBreak = true;
    myCounter = myCounter + 1;
    once again, thanks for taking the time to read this, any help greatly appreciated :-)

  • Windows Experience Index fails: An invalid character was found in text content winsat\main.cpp(1041)

    Hi
    I have been tearing my hair out over this, but found this thread which seems to be exactly what I am seeing
    (sorry for some reason I can't post links or images they have been stripped out)
    However the answer, scars me a bit and I need someone to step me through it.
    I have run SMBIOS viewer and spotted an odd looking character after the version 1 (looks like two
    small square zeros) removed it from registry but this did not solve the issue.
    ran winsat formal with admin  error. failed to load XML An invalid character was found in text content winsat\main.cpp(1041) unable to process
    xml file. winsat\main.cpp(4742) Error: cannot process assessment results cannot load xml data from string an invalid character was found in text content from interface msxm16.dll:Ixmldomdocument2
    Please help, I am tearing my hair out with this :(
    Here is my system spec, only a week old, ignore the voltages which are wrongly reported.
    Thanks
    Mike

    (Still can't post images here for some reason, can't even give you a link to see the screen shot :(
    Please verify your account in the following link
    http://social.technet.microsoft.com/Forums/en-US/947dcd6b-41c5-41c1-a39d-44a3cff60889/verify-your-account-19?forum=reportabug
    Have you tried to reset WEI as I mentioned above? What is the result?
    For HW info, we can also run msinfo32.exe to display the info.
    we can also reset BIOS to the default setting to check the issue.
    Regarding to SMBIOS, you can find detailed information in this link
    http://www.dmtf.org/standards/smbios
    NOTE
    This response contains
    a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these sites and
    has not tested any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

  • Air for Android - Receiving content from other apps

    I would like to enable my app to receive text content from other apps. Everything is working except the invoke event is missing the shared text. Do I need to add some extra permissions to receive content from other apps or do I need to modify something else?
    The XML code below is from the Android examples.
    XML: Manifest:
    <activity android:name=".ui.MyActivity" >
        <intent-filter>
            <action android:name="android.intent.action.SEND" />
            <category android:name="android.intent.category.DEFAULT" />
            <data android:mimeType="text/plain" />
        </intent-filter>
    </activity>
    Air: Handling the invoke event:
    NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onAppInvoke);
    function onAppInvoke(event:InvokeEvent):void {
    info.text = event.arguments.toString()
    info.text += event
    I'm building my Android app with Adobe Air 3.6 and Flash CS 6.
    Thanks.

    I would like to enable my app to receive text content from other apps. Everything is working except the invoke event is missing the shared text. Do I need to add some extra permissions to receive content from other apps or do I need to modify something else?
    The XML code below is from the Android examples.
    XML: Manifest:
    <activity android:name=".ui.MyActivity" >
        <intent-filter>
            <action android:name="android.intent.action.SEND" />
            <category android:name="android.intent.category.DEFAULT" />
            <data android:mimeType="text/plain" />
        </intent-filter>
    </activity>
    Air: Handling the invoke event:
    NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onAppInvoke);
    function onAppInvoke(event:InvokeEvent):void {
    info.text = event.arguments.toString()
    info.text += event
    I'm building my Android app with Adobe Air 3.6 and Flash CS 6.
    Thanks.

  • Printing Authorware text content

    I have 10 hours of outdated Authorware 5.2 training and I
    have to extract/obtain all the text content in a form whereby the
    text can be updated using WORD or similar text editor.
    The PRINT function in Authorware 5.2 crashes when I try to
    use it with this large module. Also I know from previous experience
    with PRINT that the output is a mess - too much information I don't
    want.
    Does anyone know of a way of reading & extracting text
    content from Authorware source code?
    The only thing I can fall back to is copy and paste from the
    screen, although of course this breaks down when the screen display
    is a variable.

    There is also ClickCraft's "Fix and Find" .... it has some
    fnctions to
    assist this sort of text export, edit and reimport.
    Here is a brief description of the 2 functions:
    -- LANGUAGEIN
    -- This script reads the files TextIconDesc.txt,
    TextDisplay.txt,
    -- TextCalc.txt and TextResponse.txt (located in the same
    -- folder as your file) which were created with the
    -- LANGUAGEOUT script, then edited manually (eg change
    -- of language). This script then reapplies the text to your
    file.
    -- NOTE: you must *NOT* have save-and-compacted your
    -- file in the meantime, nor have changed it in any way.
    How to?? : It is described in the help for "Fix and Find"
    Clive
    "Mike Baker **Adobe Community Expert**"
    <[email protected]> wrote in
    message news:[email protected]...
    >I believe that GetIconContents and the one Steve Howard
    mentioned
    > GetDispText were both added to Authorware to support
    Wizards and KOs and
    > they were part of AW 5.2 work. Either GetIconContents or
    GetDispText would
    > be good to remove only the text so you can put it into
    some CSS formatting
    > scenario. If you want to retain the format then what you
    might be looking
    > for is the File / Export Media function from Authorware
    7.02. It creates
    > RTF
    > files from your text.
    >
    > Mike
    > ====================
    > Mike Baker
    > Adobe Community Expert
    > [email protected]
    >
    > "Erik L." <[email protected]> wrote in
    message
    > news:[email protected]...
    >> When was the GetIconContents function included with
    A'ware? I
    >> forget...and my A'ware 5.2 install won't allow a new
    file to be created
    >> (so I can't open the functions dialog) due to the
    amount of RAM I have
    >> installed...
    >>
    >> IF that's a part of 5.2, or if you can upgrade it to
    7, you could write
    >> a routing to cycle through all the icons and pull
    the text property from
    >> the resulting property list returned by that
    function.
    >> Erik
    >>
    >> Oldtom wrote:
    >> > I have 10 hours of outdated Authorware 5.2
    training and I have to
    >> > extract/obtain all the text content in a form
    whereby the text can be
    > updated
    >> > using WORD or similar text editor.
    >> >
    >> > The PRINT function in Authorware 5.2 crashes
    when I try to use it with
    > this
    >> > large module. Also I know from previous
    experience with PRINT that the
    > output
    >> > is a mess - too much information I don't want.
    >> >
    >> > Does anyone know of a way of reading &
    extracting text content from
    > Authorware
    >> > source code?
    >> >
    >> > The only thing I can fall back to is copy and
    paste from the screen,
    > although
    >> > of course this breaks down when the screen
    display is a variable.
    >> >
    >>
    >> --
    >> Erik Lord
    >>
    http://www.capemedia.net
    >> Adobe Community Expert - Authorware
    >>
    http://www.adobe.com/communities/experts/
    >>
    >>
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    >> *Search the A'ware newsgroup archives*
    >>
    http://groups.google.com/group/macromedia.authorware
    >> *The Blankenship Caveat: Note that direct linking to
    http content
    >> through any Authorware icon will likely fail if a
    proxy server is
    > present!*
    >
    >

  • I need to know if it's possible to retrieve deleted text contents

    Is possible to recover deleted text content from my husband's iPhone 5?

    Only if you have a backup on your computer or iCloud. The iPhone doesn't have a Trash Can or Recycle Bin. So if you delete something it's gone forever.
    You posted in the iPad forum instead of the iPhone forum. To get answers to your question, next time post in the proper forum. See https://discussions.apple.com/index.jspa  I'll request that Apple relocate your post.
     Cheers, Tom

  • When I try copying some content from a webpage and paste it to quickoffice document or in e Mail. all the text copies but, no graphics/pictures. how to get them pasted?

    I tried copying some content from various websites (open content from plian HTML pages) and tried to paste it in Quickoffice document as well as in mai application. all the text got pasted properly however the content had some graphics and pictures in it that did not get pasted. So, I want to know if there is any way I can do the copy and paste from website including embedded graphics

    You will need to copy and paste the images separately from the text. Or you can try pasting into TextEdit. However, it should work if the editor can handle RTFD files as does TextEdit. You cannot copy images to a plain text document or editor.

  • No content in rich text mails from MS Exchange with attachments

    After upgrading to Yosemite I cannot see any content in mails received from MS Exchange in rich text format when they have an attachment. In Mavericks I can see the content (text) of the mail and the attachments in form of a file called winmail.dat. But in Yosemite I only see the header and the content pane shows a loading animation. When I look in the Library folder I can see the mail in my inbox folder. It has multiple parts, one .partial.emlx and one or more with .emlxpart. When I boot my backed up Mavericks installation, everything is fine. So I think it's a problem with mail.
    Any help on this?
    Best regards,
    Carsten

    Hi,
    Thank you Linda Li. I saw the URL link you sent me on your reply
    http://office.microsoft.com/en-in/infopath-help/insert-a-rich-text-box-HP010080917.aspx
    Our SharePoint 2010 InfoPath 2010 form is working. 
    Where i need help is the emails sent from SharePoint Designer WorkFlow Email function - The SharePoint site owners do not want to send by email PLAIN TEXT data from the InfoPath RTF they want to send by email Rich Text value look ups from the RTF.
    SEND E-MAIL IN A WORKFLOW
    http://office.microsoft.com/en-us/sharepoint-designer-help/send-e-mail-in-a-workflow-HA010239042.aspx
    everything works fine - except aligning the RTF with the other field look ups. our email has an HTML table where we have plain text fields, date fields, and RTF - I need with INLINE CSS STYLE code since remote CSS or any type of CSS does not work only INLINE
    CSS worsk on SP WorkFlow Emails
    EXAMPLE: you can create a Workflow Variable that has a simple HTML table, and when SP workflow sends the email the values in the cells do not line up, if the RFT values are blank from the InfoPath form the email table looks greate, as soon as you type any
    value in the InfoPath form RFT the email does not line up to the any of the other html cell text or other Look up values to the InfoPath form.
    <table>
    <tr><td>Title:</td><td>[%Current Item:Title%]</td><td>[%Current Item:Notes1%]</td></tr>
    <tr><td>Created by:</td><td>[%Current Item:CreatedBy%]</td><td>[%Current Item:Notes2%]</td></tr>
    <tr><td>Date Created:</td><td>[%Current Item:Created%]</td><td>[%Current Item:Notes3%]</td></tr>
    <tr><td>Modified by:</td><td>[%Current Item:ModifiedBy%]</td><td>[%Current Item:Notes4%]</td></tr>
    <tr><td>Date Modified:</td><td>[%Current Item:Modified%]</td><td>[%Current Item:Notes5%]</td></tr>
    </table>
    -Isaack

  • Has anyone experienced an iphone 5 including content from an earlier text when sending a later text? Is there a fix ?

    When sending an SMS  text message my phone has occassionally included random sections of text taken from earlier messages . The message I have sent does not include this text in the stored message but the recipients does ? Is there a reason for this ? Is there a fix ?

    So you have checked all of the home screens and the folder does not exist? I've not witnessed hidden folders. Try a reset on the phone. Hold the sleep/wake and home buttons together until you see the Apple logo and then release. After the phone reboots, see if you can locate it. If not, then you can go to Settings>General>Reset>Reset Home Screen Layout. This should remove all apps from folders and reset your home screens.

  • Problems with string encoding - need the text content in char* format.

    The problem is non ASCII-characters, which comes out as some sort of unicode I need to desipher.
    Here's what I got:
    A text frame object with the TextString "Agnartjørna"
    I get the text content of this object into an ai::UnicodeString the following way:
    AIErr
    VMGetTextOfTextArt( AIArtHandle textArt, ai::UnicodeString &ucStr)
        ASUnicode *textBuffer = NULL;
        AITRY {
            TextFrameRef ateTextRef;
            AIX( sAITextFrame->GetATETextFrame( textArt, &ateTextRef));
            ATE::ITextFrame ateText( ateTextRef);
            ATE::ITextRange ateRange = ateText.GetTextRange( true);
            ASInt32 textLen = ateRange.GetSize();
            AIX( sSPBlocks->AllocateBlock( (textLen+2) * sizeof( ASUnicode), nil, (void**) &textBuffer));
            ateRange.GetContents( textBuffer, (ASInt32) textLen+1);
            /* trim off trailing newlines */
            if ((textBuffer[textLen] == '\n') || (textBuffer[textLen] == '\r'))
                 textBuffer[textLen] = 0;
            ucStr.clear();
            ucStr.append( ai::UnicodeString( textBuffer, textLen));
            sSPBlocks->FreeBlock( textBuffer);
            textBuffer = NULL;
           AIRETURN;
        AICATCH {
            if (textBuffer) sSPBlocks->FreeBlock( textBuffer);
           AIPROPAGATE;
    Now, the next step is to convert it into a form that I can use to call regexp.
    Baiscally, I want to detect the ending "tjørna" (meaning small lake) on a map label, and apply a standard abbevriation "tj^a" (with "a" superscripted).
    So the problem is to obtain the regexp pattern and the text content in same encoding.  And since the regexp library is old *char based, I would like to convert the text content in to plain old *char.
    Hence the following code:
    static AIErr
    VMAbbreviateTextArt( AIArtHandle textArt,
                             vmTextAbbrevEffectParams *params)
        AITRY {
        /* first obtain the text contents of the textArt */
           ai::UnicodeString ucText;
          const int kTextLen = 256;
          char textContent[kTextLen];
          AIX( VMGetTextOfTextArt( textArt, ucText));
          ucText.as_Roman( textContent, kTextLen);
    But textContent now has the value "Agnartj\xbfnna"  (According to XCode),
    which will not get a match on the pattern "tj([øe][rn])na\\" (with  backslash matching the end of the string)
    Any other ways to convert the textContent to a plain *char string?

    Thank you very much, your method will work fine. with
    the "UTF-8" parameter the byte[].length is double,
    cause every valid byte is preceeded by an -62, but I
    will just filter the valid bytes into a new array.
    Thanks again,
    StefanActually what you need to do is to find the character encoding that your device expects, and then you can code your strings in Arabic.
    That's the way Java does things; Strings and char values are always in UNICODE (see www.unicode.org) (which means \u600 to \u6ff for arabic) and uses a specified character encoding when translating these to and from a byte stream.
    Each national character encoding has a name. Most of them are identical to ASCII for 0-127 and code their national characters in 128-255.
    Find the encoding name for your display and, odds are, the JRE has it in the library.
    BTW the character encoding ISO-8859-1 simply maps UNICODE characters 0-255 on to bytes.

  • XML Publisher Report - Invalid character was  found in text content

    Hi Techies,
    Version Background
    Oracle apps : 11.5.10
    Oracle 9i Database
    Oracle Reports 6i
    I created a XML output type concurrent program and attached a data definition & template to it.
    My program completed with status "Warning".
    The Error is : An invalid character was found in text content.
    Then i downloaded the XML and opened it in notepad++. I found there are 2 weird characters like this ( , )
    FYI, It is a non-Ascii character so not able to paste it in this forum text field. the characters looks like double sided arrow and a forward arrow.
    I also tried loading the XML locally from RTF Template. Again it throws me same error
    Error No: -1072896760: An invalid character was found in text content.
    Additional Information:
    Data is coming from table "gl_alloc_batches.description"
    Encoding Type: UTF-8
    Please Help me how to handle such a non-ascii characters
    Edited by: 868779 on Feb 22, 2012 10:48 PM

    Hi,
    Please find below sql which will find the special characters in column of table,
    SET serveroutput ON size 1000000
    DECLARE
    PROCEDURE gooey (v_table VARCHAR2, v_column VARCHAR2)
    IS
    TYPE t_id IS TABLE OF NUMBER;
    TYPE t_dump IS TABLE OF VARCHAR2 (20000);
    TYPE t_data IS TABLE OF VARCHAR2 (20000);
    l_id t_id;
    l_data t_data;
    l_dump t_dump;
    CURSOR a
    IS
    SELECT DISTINCT column_name
    FROM dba_tab_columns
    WHERE table_name = v_table
    AND data_type = 'VARCHAR2'
    AND column_name NOT IN ('CUSTOMER_KEY', 'ADDRESS_KEY');
    BEGIN
    FOR x IN a
    LOOP
    l_id := NULL;
    l_data := NULL;
    l_dump := NULL;
    EXECUTE IMMEDIATE 'SELECT '
    || v_column
    || ', '
    || x.column_name
    || ', '
    || 'dump('
    || x.column_name
    || ')'
    || ' FROM '
    || v_table
    || ' WHERE RTRIM((LTRIM(REPLACE(TRANSLATE('
    || x.column_name
    || ',''ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*()_+
    -=,!\`~{}./?:";''''[ ]'',''A''), ''A'', '''')))) IS NOT NULL'
    BULK COLLECT INTO l_id, l_data, l_dump;
    IF l_id IS NOT NULL
    THEN
    FOR k IN 1 .. l_id.COUNT
    LOOP
    DBMS_OUTPUT.put_line ( v_table
    || ' - '
    || x.column_name
    || ' - '
    || TO_CHAR (l_id (k), '999999999999')
    DBMS_OUTPUT.put_line (l_data (k));
    DBMS_OUTPUT.put_line (l_dump (k));
    DBMS_OUTPUT.put_line ('*********************');
    END LOOP;
    END IF;
    END LOOP;
    END gooey;
    BEGIN
    gooey ('GL_ALLOC_BATCHES', 'DESCRIPTION');
    END;
    Thanks,
    Amogh

  • How to download a text file from the server

    hi everyone,
    can anyone tell me how to download and read a text file from the server and saved in into resource folder.
    with regards
    pallavi

    its really easy
    To read from server, use something like:
    HttpConnection connector = null;
    InputStream inp_stream = null;
    OutputStream out_stream = null;
    void CloseConnection()
         if(inp_stream!=null)inp_stream.close();
         inp_stream=null;
         if(out_stream!=null)out_stream.close();
         out_stream=null;
         connector.close();
         connector = null;
    public void getResponse(String URL,String params)
      try
         if(connector==null)connector = (HttpConnection)Connector.open(URL);//URL of your text file / php script
         connector.setRequestMethod(HttpConnection.POST);
         connector.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.1");
         connector.setRequestProperty("content-type", "application/x-www-form-urlencoded");
         //connector.setRequestProperty("charset","windows-1251");
         //*** If you need to send ("arg1=value&arg2=value") arguments to script use this:
         out_stream = connector.openOutputStream();
         byte postmsg[] = params.getBytes();
         out_stream.write(postmsg);
         int rc = connector.getResponseCode();//in any case here connection will be opened & closed
         if (rc != HttpConnection.HTTP_OK)
              CloseConnection();
              throw new IOException("HTTP response code: " + rc);
         inp_stream = connector.openInputStream();
         int pack_len = inp_stream.available();
         byte answ[]=new byte[pack_len];
         inp_stream.read(answ);
         CloseConnection();
         ProcAnswer(answ);//process received data
      catch(Exception ex)
         System.err.println("ERROR IN getResponse(): "+ex);
    } And you can read from resource file like
    public void loadFile(String filename)
        DataInputStream dis = new DataInputStream(getClass().getResourceAsStream("/"+filename));
        String str="";
        try
             while (true)
                ch = dis.read();//read character
                if(ch=='\r')continue;//if file made in windows
                if(ch=='\n' || ch==-1)//end of line or end of file
                    if(str.length()==0)continue;//if empty line
                    //do some thing with "str"
                    if(ch==-1)break;//it was last line
                    str="";//next line
                    continue;
                 str+=(char)ch;
           dis.close();
       catch (Exception e)
           System.err.println("ERROR in loadFile() " + e);
    }Welcome! =)
    Edited by: MorskoyZmey on Aug 14, 2008 3:40 AM

Maybe you are looking for