Daniel Ignat wrote:
>
> i'm new in java .. and i need some topic for create a little programm
> i need to formating a file for insert in a database: (/var/log/message)
>
You could just open the file using java.io.File, read it in, then write
the new file in some directory this program would hav
I think you can work with the String.substring() method, here's a little
example of how it works.
>
> i'm new in java .. and i need some topic for create a little programm
> i need to formating a file for insert in a database: (/var/log/message)
>
>
> before
> Apr 26 14:54:39
i'm new in java .. and i need some topic for create a little programm
i need to formating a file for insert in a database: (/var/log/message)
before
Apr 26 14:54:39 ** kernel: PPP: ppp line discipline successfully unregistered
Apr 26 15:04:17 ** PAM_pwdb[261]: (login) session clos