Package org.simpleframework.util.parse

Examples of org.simpleframework.util.parse.ParseBuffer


    * This is used to create a parser that can parse a disposition
    * header which is typically sent as part of a multipart upload. It
    * can be used to determine the type of the upload.
    */
   public ContentDispositionParser() {
      this.file = new ParseBuffer();
      this.name = new ParseBuffer();
      this.skip = new ParseBuffer();
   }
View Full Code Here


    * to extract the primary, secondary and the optional charset
    * parameter by using the parser's <code>parse(String)</code>
    * method.
    */  
   public ContentTypeParser(){
      this.secondary = new ParseBuffer();
      this.primary = new ParseBuffer()
      this.charset = new ParseBuffer();
      this.value = new ParseBuffer();
      this.type = new ParseBuffer();
      this.name = new ParseBuffer();
      this.map = new KeyMap<String>();
   }
View Full Code Here

    * Creates a <code>Parser</code> for the basic authorization
    * scheme. This allows headers that are of this scheme to be
    * broken into its component parts i.e. user name and password.
    */
   public PrincipalParser() {
      this.password = new ParseBuffer();
      this.user = new ParseBuffer();
      this.four = new byte[4];
   }
View Full Code Here

    * extract the type, subtype and the optional <code>charset</code>
    * parameter by using the parser's <code>parse(String)</code>
    * method.
    */  
   public ContentParser(){
      this.subtype = new ParseBuffer();
      this.charset = new ParseBuffer();
      this.value = new ParseBuffer();
      this.name = new ParseBuffer();
      this.type = new ParseBuffer()
      this.map = new KeyMap<String>();
   }
View Full Code Here

    * is used to create a parser that can parse a disposition header
    * which is typically sent as part of a multipart upload. It can
    * be used to determine the type of the upload.
    */
   public DispositionParser() {
      this.file = new ParseBuffer();
      this.name = new ParseBuffer();
      this.skip = new ParseBuffer();
   }
View Full Code Here

TOP

Related Classes of org.simpleframework.util.parse.ParseBuffer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.