XPRDFileManager
- com.dashoptimization.XPRDFileManager
-
public interface XPRDFileManager
An interface to generate pseudo files
-
-
Method Summary
Modifier and Type Method and Description java.io.InputStream
openForReading(java.lang.String fname, int mode)
Try to open a file for reading operations.java.io.OutputStream
openForWriting(java.lang.String fname, int mode)
Try to open a file for writing operations.
-
-
-
Method Detail
-
openForWriting
java.io.OutputStream openForWriting(java.lang.String fname, int mode) throws java.io.IOException
Try to open a file for writing operations.- Parameters:
-
fname
- file name -
mode
- open mode - Returns:
-
an OutputStream if successful or
null
if the manager cannot handle this file (it will be processed as a local file by XPRD) - Throws:
-
java.io.IOException
- if the manager handles the file but failed to open it
-
openForReading
java.io.InputStream openForReading(java.lang.String fname, int mode) throws java.io.IOException
Try to open a file for reading operations.- Parameters:
-
fname
- file name -
mode
- open mode - Returns:
-
an InputStream if successful or
null
if the manager cannot handle this file (it will be processed as a local file by XPRD) - Throws:
-
java.io.IOException
- if the manager handles the file but failed to open it
-
-
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.