Hi Christophe,

I tried use:

 new Word2Forrest(new HWPFDocument(new
FileInputStream("C:\\Luiz\\testes\\teste.doc")), out);

But it didn't work.

I got the follow in the Eclipse's Console:

java.io.FileNotFoundException: C:\Luiz\teste.doc (The system can't find the
specified file)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at org.apache.poi.hwpf.Word2Forrest.main(Word2Forrest.java:216)

I tried to use "C:/Luiz/teste.doc" and got the same error.

Luiz

On 10/4/07, Christophe Charles <[EMAIL PROTECTED]> wrote:
>
> args[0] it's your "fileWord.doc" !  Like  c://myWord.doc !
>
> 2007/10/4, Luiz Antonio Falaguasta Barbosa <[EMAIL PROTECTED]>:
> >
> > Sorry,
> >
> > I solved another problem putting libraries into the build path.
> >
> > Related to this example (Word2Forrest.java), I don't know which
> "args[0]"
> > I
> > should use.
> >
> > Thanks since now.
> >
> > Luiz
> >
> > On 10/4/07, Christophe Charles <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi Luiz,
> > >
> > > I've tested this example. what is your question?
> > >
> > > 2007/10/3, Luiz Antonio Falaguasta Barbosa <[EMAIL PROTECTED]>:
> > > >
> > > > Hi there,
> > > >
> > > > I'm starting using POI and I've been downloaded the example
> > > > Word2Forrest.java in the SVN's URL:
> > > >
> > > >
> > > >
> > >
> >
> http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/examples/src/org/apache/poi/hwpf/Word2Forrest.java
> > > >
> > > > I couldn't see who is the author's email, so I couldn't ask directly
> > > him.
> > > >
> > > > Does anybody have already tested this example?
> > > >
> > > > Any help will be appreciated.
> > > >
> > > > Luiz
> > > >
> > >
> >
>

Reply via email to