[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-javascript-dev
Subject:    Re: [Dev] Read Flat File with different file size
From:       Júnior <fjunior87 () gmail ! com>
Date:       2016-06-30 20:31:01
Message-ID: CAOk1a-SRgnGQB3bXAf8-Htp9jP+tKAroRyprZ1D017q=53ELDw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I was able by using the CSVParser, setting the strict attribute to false.

Thanks

2016-06-28 15:23 GMT-03:00 Júnior <fjunior87@gmail.com>:

> Hi,
>
> I have a flat file with 3 lines each one having a different size.
>
> I'd like to read it and insert each line in a different table.
>
> I was looking the best approach would be using Smooks mediator using the
> fixedline catridge.
>
> But it expect all lines have the same size.
>
> Does someone here have faced similar issue? Does anyone have any clue
> about how to do that?
>
> Thanks
>
> --
> Francisco Ribeiro
> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>



-- 
Francisco Ribeiro
*SCEA|SCJP|SCWCD|IBM Certified SOA Associate*

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div><br></div><div>I was able by using the CSVParser, setting the \
strict attribute to false.</div><div><br></div><div>Thanks</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">2016-06-28 15:23 GMT-03:00 Júnior \
<span dir="ltr">&lt;<a href="mailto:fjunior87@gmail.com" \
target="_blank">fjunior87@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have a flat file with \
3 lines each one having a different size.</div><div><br></div><div>I&#39;d like to \
read it and insert each line in a different table.</div><div><br></div><div>I was \
looking the best approach would be using Smooks mediator using the fixedline \
catridge.</div><div><br></div><div>But it expect all lines have the same \
size.</div><div><br></div><div>Does someone here have faced similar issue? Does \
anyone have any clue about how to do that?</div><div><br></div><div>Thanks<span \
class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div \
data-smartmail="gmail_signature">Francisco Ribeiro<br><b><span \
style="color:rgb(153,153,153)">SCEA|SCJP|SCWCD|IBM Certified SOA \
Associate</span></b></div> </font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature">Francisco \
Ribeiro<br><b><span style="color:rgb(153,153,153)">SCEA|SCJP|SCWCD|IBM Certified SOA \
Associate</span></b></div> </div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic