poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luiz Antonio Falaguasta Barbosa" <luiz.barb...@gwe.com.br>
Subject Re: How may I use this example?
Date Fri, 05 Oct 2007 13:50:31 GMT
Yeah, it worked.

Thanks,

Luiz

On 10/5/07, Christophe Charles <chrcharles67@gmail.com> wrote:
>
> It's work or not ?
>
> 2007/10/5, Luiz Antonio Falaguasta Barbosa <luiz.barbosa@gwe.com.br>:
> >
> > I could swear that I have already tried to use this kind of slashes "/".
> >
> > Thanks Christophe!
> >
> > Luiz
> >
> > On 10/5/07, Christophe Charles <chrcharles67@gmail.com> wrote:
> > >
> > > Hi,
> > >
> > > Tri
> > > new Word2Forrest(new HWPFDocument(new
> > > FileInputStream("c:/Luiz/testes/teste.doc")),
> > > out);<file:///C:/MDOCS/EclipsePerso/POITest/Fichiers/x.doc>
> > >
> > > 2007/10/4, Luiz Antonio Falaguasta Barbosa <luiz.barbosa@gwe.com.br>:
> > > >
> > > > 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 <chrcharles67@gmail.com> wrote:
> > > > >
> > > > > args[0] it's your "fileWord.doc" !  Like  c://myWord.doc !
> > > > >
> > > > > 2007/10/4, Luiz Antonio Falaguasta Barbosa <
> luiz.barbosa@gwe.com.br
> > >:
> > > > > >
> > > > > > 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 <chrcharles67@gmail.com>
wrote:
> > > > > > >
> > > > > > > Hi Luiz,
> > > > > > >
> > > > > > > I've tested this example. what is your question?
> > > > > > >
> > > > > > > 2007/10/3, Luiz Antonio Falaguasta Barbosa <
> > > luiz.barbosa@gwe.com.br
> > > > >:
> > > > > > > >
> > > > > > > > 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
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message