Welcome, Guest
Username: Password: Remember me

TOPIC: JAVA API Change value in a cas file

JAVA API Change value in a cas file 10 years 1 month ago #14387

  • VALENTIN
  • VALENTIN's Avatar
Hello,
I need to use your fudaa pre pro jar to set some value in the cas file.
I use this short code to do this:
final DicoCasInterface inter = getInter(casFileName);
            final File tmpFile = createTempFile();
            final CtuluIOOperationSynthese syntheseR = Telemac2dFileFormat.getInstance().getLastVersionImpl(DicoLanguage.FRENCH_ID).write(tmpFile, inter, null);

but i need to change some DicoEntite values of DicoCasInterface "inter" before write it.
 DicoEntite ent = dico.getEntite("CONDITIONS INITIALES");
 String t = inter.getValue(ent); // HERE I WANT TO SET THE VALUE OF ENTITY ENT, AND NEXT GET A NEW DicoCasInterface to write a new CAS file.

someone can help me ?

Thanks.
The administrator has disabled public write access.

JAVA API Change value in a cas file 10 years 1 month ago #14438

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

Could you explain what is your goal?

With fudaa, you could change the value of the cas file...

Regards
Christophe
The administrator has disabled public write access.

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.