Пример #1
0
 // LightMode <MODE>
 private void readLightMode(String statement) throws IOException {
   String[] split = statement.split(whitespacePattern);
   if (split.length != 2) {
     throw new IOException("LightMode statement syntax incorrect");
   }
   LightMode lm = LightMode.valueOf(split[1]);
   technique.setLightMode(lm);
 }