1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 <2013> 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 <2013> 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: [CSS] FileUtil |
From: | "Chen, Xihui" <[email protected]> |
To: | Pavel Maslov <[email protected]>, EPICS Tech Talk <[email protected]> |
Date: | Tue, 15 Jan 2013 08:42:48 -0500 |
Hi Pavel, In BOY script, you can use the standard Python or Java code to read/write file. The problem is that you cannot directly work with workspace path. You need to call FileUtil.workspacePathToSysPath(String) to convert a workspace path to system file path. Cheers, Xihui From: Pavel Maslov [mailto:[email protected]] Is there an opportunity to implement the binary read/write file functionality to the class FileUtil in CSS BOY? I can only see the writeTextFile() and readTextFile() functions in this API. Or there may be another way to read/write a binary file in CSS BOY? -- |