1 Reply Latest reply: Nov 21, 2006 9:42 AM by 791266 RSS

    Reading files

    807607
      Is it possible to read from files that are not *.txt files. For instance, microsoft word, microsoft excel, and whatnot?

      When I read from Microsoft word I always get garbage embedded with the text contained in the file.

      Can Java do this or do I have to use another programming lanuage?

      Thanks.
        • 1. Re: Reading files
          791266
          Is it possible to read from files that are not *.txt
          files. For instance, microsoft word, microsoft excel,
          and whatnot?

          When I read from Microsoft word I always get garbage
          embedded with the text contained in the file.

          Can Java do this or do I have to use another
          programming lanuage?

          Thanks.
          You need to use a library which understands the word format. E.g Apache POI

          Kaj