commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: [commons-vfs] Need clarification for FileContent.getOutputStream(boolean) method..
Date Fri, 27 Jul 2012 15:03:37 GMT
That is confusing.  The main documentation says nothing about append, yet the true/false flag
implies that it should append. 

Ralph

On Jul 27, 2012, at 6:00 AM, Gary Gregory wrote:

> Sounds like the API works as documented.
> 
> Gary
> 
> On Jul 27, 2012, at 8:52, vijayaratha vijayasingam
> <vijayaratha@gmail.com> wrote:
> 
>> Hi Gray,
>> 
>> This is my observation..if i pass false.., a output file is newly created
>> (even there is a ouput file is present..)
>> If i pass true also same thing happens..I thought it will append to
>> existing output file....Am i misunderstand anything?
>> 
>> On 27 July 2012 18:11, Gary Gregory <garydgregory@gmail.com> wrote:
>> 
>>> You file never gets appended?  Can you provide a test case? Does it
>>> still happen with the trunk code? What version are you using?
>>> 
>>> Gary
>>> 
>>> On Jul 27, 2012, at 8:35, vijayaratha vijayasingam
>>> <vijayaratha@gmail.com> wrote:
>>> 
>>>> I checked the doc..but i dont see any difference, when i pass
>>> true/false..
>>>> 
>>>> On 27 July 2012 17:54, Gary Gregory <garydgregory@gmail.com> wrote:
>>>> 
>>>>> Please see the Javadoc at
>>>>> 
>>>>> 
>>> http://commons.apache.org/vfs/apidocs/org/apache/commons/vfs2/FileContent.html#getOutputStream(boolean)
>>>>> 
>>>>> Gary
>>>>> 
>>>>> On Jul 27, 2012, at 5:00, vijayaratha vijayasingam
>>>>> <vijayaratha@gmail.com> wrote:
>>>>> 
>>>>>> Hi all;
>>>>>> We are using commons.vfs2 library in our synapse vfs transport...
>>>>>> I need a clarification for the following function;
>>>>>> 
>>>>>> *org.apache.commons.vfs2.FileContent.getOutputStream(boolean)*
>>>>>> 
>>>>>> If i use true or false, whatever, i see my output file is newly
>>> generated
>>>>>> one..
>>>>>> Can anybody clarify what is the exact difference if i use true and
>>> false?
>>>>>> 
>>>>>> Thanks
>>>>>> -Ratha
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: user-help@commons.apache.org
>>>>> 
>>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: user-help@commons.apache.org
>>> 
>>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message