On Wed, Oct 6, 2010 at 9:36 AM, Shariq <[email protected]> wrote:

> Hi,
>
> How can I get the file separator from the Carbon framework based on the
> platform the product is running,
> meaning "/" for Linux and "\" for Windows ? Is there an attribute I can
> directly read from or should I do it manually?
>

There's nothing to get from the Carbon framework here. Just use [1] from
standard Java.

Thanks,
Hiranya

[1] -
http://download.oracle.com/javase/1.4.2/docs/api/java/io/File.html#separator


>
> Thanks,
> Shariq.
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: [email protected];  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to