Equivalent of Line Separator in smartGWT?

前端 未结 1 622
一个人的身影
一个人的身影 2021-01-20 12:57

Is there an equivalent or alternate for

System.getProperty(\"line.separator\");

It gives the below error

The method getProperty(St

相关标签:
1条回答
  • 2021-01-20 13:43

    I think you need to execute System.getProperty("line.separator") in your server side code and access it using RPC or any other server side gwt communication technique.

    Check GWT JRE Emulation:

    GWT includes a library that emulates a subset of the Java runtime library. The list below shows the set of JRE packages, types and methods that GWT can translate automatically. Note that in some cases, only a subset of methods is supported for a given type.

    System

    err, out
    System(), arraycopy(Object, int, Object, int, int), currentTimeMillis(), gc(), getProperty(String, String), identityHashCode(Object), setErr(PrintStream), setOut(PrintStream)

    0 讨论(0)
提交回复
热议问题