but there is no property call PASSWORD m.set(Metadata.PASSWORD,
"NiceAndSecret");, it is throwing an error

can u pls check

On Tue, Nov 29, 2011 at 4:02 PM, Nick Burch <[email protected]> wrote:
> On Tue, 29 Nov 2011, chethan wrote:
>>
>> but where and how to parse that if i am having password.....pls give me a
>> sample code where i can give password and can be parsed.
>
>
> You need to set the PASSWORD value on the Metadata object you supply, eg
>
> Metadata m = new Metadata();
> m.set(Metadata.PASSWORD, "NiceAndSecret");
> parser.parse(stream, handler, m, context);
>
> Nick

Reply via email to