protected long writeValue ( File file , ValueData value ) throws IOException { if ( value . isByteArray ( ) ) { return writeByteArrayValue ( file , value ) ; } else { return writeStreamedValue ( file , value ) ; } }
Write value to a file .