Examples of decode()

  • de.matthiasmann.twl.utils.PNGDecoder.decode()
  • de.netseeker.ejoe.io.DataChannel.decode()
    Decodes and reformats request data if the underlying protocol layer makes it neccessary @param buffer
  • edu.umd.cloud9.io.map.HMapIDW.decode()
    In lazy decoding mode, populates the map with deserialized data. Otherwise, does nothing. @throws IOException
  • edu.umd.cloud9.io.map.HMapIFW.decode()
    In lazy decoding mode, populates the map with deserialized data. Otherwise, does nothing. @throws IOException
  • edu.umd.cloud9.io.map.HMapIIW.decode()
    In lazy decoding mode, populates the map with deserialized data. Otherwise, does nothing. @throws IOException
  • edu.umd.cloud9.io.map.Int2FloatOpenHashMapWritable.decode()
    In lazy decoding mode, populates the map with deserialized data. Otherwise, does nothing.
  • edu.umd.cloud9.io.map.Int2IntOpenHashMapWritable.decode()
    In lazy decoding mode, populates the map with deserialized data. Otherwise, does nothing.
  • eu.mosaic_cloud.components.tools.DefaultChannelMessageCoder.decode()
  • flash.swf.ActionDecoder.decode()
    consume actions until length bytes are used up. @param length @throws IOException
  • fr.imag.adele.apam.declarations.encoding.Decoder.decode()
    parses the encoded representation of the declaration
  • fr.imag.adele.apam.declarations.encoding.capability.CapabilityParser.decode()
  • fr.imag.adele.apam.declarations.encoding.ipojo.MetadataParser.decode()
  • fr.jayasoft.crypto.decoder.Decoder.decode()
  • fr.jayasoft.crypto.decoder.RSADecoder.decode()
  • freenet.keys.ClientCHKBlock.decode()
    Decode the CHK and recover the original data @return the original data @throws IOException If there is a bucket error.
  • freenet.keys.ClientSSKBlock.decode()
    Decode the data.
  • games.stendhal.common.FeatureList.decode()
    Read an encoded features list. Encoded features are in the form of:
    name[=value][:name[=value]...] @param encoded
  • gnu.java.security.sig.rsa.EME_PKCS1_V1_5.decode()
  • gov.nist.javax.sip.stack.WebSocketCodec.decode()
  • htsjdk.samtools.TextCigarCodec.decode()
  • htsjdk.tribble.AsciiFeatureCodec.decode()
  • htsjdk.tribble.FeatureCodec.decode()
  • htsjdk.tribble.example.ExampleBinaryCodec.decode()
  • htsjdk.variant.vcf.VCFCodec.decode()
  • info.archinnov.achilles.codec.Codec.decode()
  • info.archinnov.achilles.internal.metadata.codec.ByteArrayCodec.decode()
  • info.archinnov.achilles.internal.metadata.codec.ByteArrayPrimitiveCodec.decode()
  • info.archinnov.achilles.internal.metadata.codec.ByteCodec.decode()
  • info.archinnov.achilles.internal.metadata.codec.ListCodec.decode()
  • info.archinnov.achilles.internal.metadata.codec.MapCodec.decode()
  • info.archinnov.achilles.internal.metadata.codec.SetCodec.decode()
  • io.netty.handler.codec.http.CookieDecoder.decode()
    Decodes the specified HTTP header value into {@link Cookie}s. @return the decoded {@link Cookie}s
  • it.eng.spagobi.commons.utilities.ParameterValuesDecoder.decode()
    Decode. @param value the value @return the list
  • it.eng.spagobi.utilities.ParametersDecoder.decode()
    Decode. @param value the value @return the list
  • itc.Stamp.Decode()
  • jade.lang.acl.ACLCodec.decode()
    Recovers an ACLMessage object back from raw data, using the specific message representation to interpret the byte sequence. @param data The byte sequence containing the encoded message. @param charset Charset encoding to use (e.g. US_ASCII, UTF-8, etc) @return A new ACLMessage object, built from the rawdata. @exception CodecException If some kind of syntax error occurs.
  • jade.lang.acl.StringACLCodec.decode()
    decode and parses the next message from the Reader passed in the constructor. @return the ACLMessage @throws ACLCodec.CodecException if any Exception occurs during the parsing/reading operation
  • java.net.URLDecoder.decode()
    Decodes a x-www-form-urlencoded string. The platform's default encoding is used to determine what characters are represented by any consecutive sequences of the form "%xy". @param s the String to decode @deprecated The resulting string may vary depending on the platform'sdefault encoding. Instead, use the decode(String,String) method to specify the encoding. @return the newly decoded String
  • java.nio.charset.Charset.decode()
    Decodes the content of the give byte buffer and outputs to a character buffer that is to be returned.

    The default action in case of decoding errors is CodingErrorAction.REPLACE.

    @param buffer the byte buffer containing the content to be decoded @return a character buffer containing the output of the dencoding
  • java.nio.charset.CharsetDecoder.decode()
    This is a facade method for decoding operation.

    This method decodes the remaning byte sequence of the given byte buffer into a new character buffer. This method performs a complete decoding operation, resets at first, then decodes, and flushes at last.

    This method should not be invoked if another decode operation is ongoing.

    @param in the input buffer @return a new CharBuffer containing the the charactersproduced by this decoding operation. The buffer's limit will be the position of last character in buffer, and the position will be zero @throws IllegalStateException if another decoding operation is ongoing @throws MalformedInputException if illegal input byte sequence for this charset encountered, and the action for malformed error is {@link CodingErrorAction#REPORT CodingErrorAction.REPORT} @throws UnmappableCharacterException if legal but unmappable input byte sequence for this charset encountered, and the action for unmappable character error is {@link CodingErrorAction#REPORT CodingErrorAction.REPORT}. Unmappable means the byte sequence at the input buffer's current postion cannot be mapped to a Unicode character sequence. @throws CharacterCodingException if other exception happened during the decode operation
  • javax.faces.component.UIComponent.decode()
  • javax.faces.component.UIInput.decode()
  • javax.faces.component.UISelectMany.decode()
  • javax.faces.component.behavior.ClientBehavior.decode()
  • javax.faces.lifecycle.ClientWindow.decode()
  • javax.faces.render.ClientBehaviorRenderer.decode()
  • javax.faces.render.Renderer.decode()
  • javax.media.jai.tilecodec.TileDecoder.decode()
    Returns a Raster that contains the decoded contents of the InputStream associated with this TileDecoder.

    This method can perform the decoding correctly only when includesLocationInfo() returns true. @throws IOException if an I/O error occurs while reading from theassociated InputStream. @throws IllegalArgumentException if the associated TileCodecDescriptor's includesLocationInfo() returns false.

  • marauroa.common.net.Decoder.decode()
    Decodes a message from a stream of bytes received from channel @param channel the socket from where data was received @param data the data received @return a message or null if it was not possible @throws IOException if there is a problem building the message @throws InvalidVersionException if the message version mismatch the expected version
  • me.mabra.hellonzb.helloyenc.HelloYenc.decode()
    Use this method to decode the data input vecotr.
  • muduo.codec.ProtobufDecoder.decode()
  • muduo.rpc.RpcDecoder.decode()
  • net.fec.openrq.util.rq.IntermediateSymbolsDecoder.decode()
    Decodes intermediate symbols from a set of source symbols of an extended source block. @param D @return the intermediate symbols
  • net.hasor.rsf.serialize.Decoder.decode()
    decode byte[] to Object
  • net.rubyeye.xmemcached.command.Command.decode()
  • net.rubyeye.xmemcached.command.text.TextGetCommand.decode()
  • net.rubyeye.xmemcached.command.text.TextGetOneCommand.decode()
  • net.rubyeye.xmemcached.transcoders.SerializingTranscoder.decode()
  • net.rubyeye.xmemcached.transcoders.Transcoder.decode()
    Decode the cached object into the object it represents. @param d the data @return the return value
  • net.sf.cindy.PacketDecoder.decode()
    Decode packet to object. The content of the packet is readonly, and it's position will not be changed if the method return null. @param session session @param packet packet @return decoded object @throws Exception any exception
  • net.sf.hajdbc.codec.Decoder.decode()
  • net.sf.isolation.text.IsoTextDecoder.decode()
  • net.sf.isolation.text.spi.IsoTextDecoderCsvSpi.decode()
  • net.sf.isolation.text.spi.IsoTextDecoderJsonSpi.decode()
  • net.sourceforge.jaad.aac.syntax.PCE.decode()
  • net.sourceforge.plantuml.code.Transcoder.decode()
  • net.spy.memcached.transcoders.SerializingTranscoder.decode()
  • net.tomp2p.message.DSASignatureCodec.decode()
  • net.tomp2p.message.RSASignatureCodec.decode()
  • net.tomp2p.message.SignatureCodec.decode()
  • net.windwards.dnsfrontend.api.Protocol.decode()
  • net.yura.lobby.server.LobbyServer.decode()
  • opennlp.tools.util.SequenceCodec.decode()
    Decodes a sequence T objects into Span objects. @param c @return
  • org.apache.cayenne.xml.XMLDecoder.decode()
    Decodes XML wrapped by a Reader into an object. @param xml Wrapped XML. @return A new instance of the object represented by the XML. @throws CayenneRuntimeException
  • org.apache.commons.codec.BinaryDecoder.decode()
    Decode a byte array and return the results of the decode as a byte array. @param pArray A byte array which has been encoded with theappropriate encoder @return a byte array that contains decoded content @throws DecoderException A decoder exception is thrownif a Decoder encounters a failure condition during the decode process.
  • org.apache.commons.codec.Decoder.decode()
    Decode an "encoded" Object and return a "decoded" Object. Note that the implementation of this interface will try to cast the Object parameter to the specific type expected by a particular Decoder implementation. If a ClassCastException occurs this decode method will throw a DecoderException. @param pObject an object to "decode" @return a 'decoded" object @throws DecoderException a decoder exception canbe thrown for any number of reasons. Some good candidates are that the parameter passed to this method is null, a param cannot be cast to the appropriate type for a specific encoder.
  • org.apache.commons.codec.binary.Base32.decode()

    Decodes all of the provided data, starting at inPos, for inAvail bytes. Should be called at least twice: once with the data to decode, and once with inAvail set to "-1" to alert decoder that EOF has been reached. The "-1" call is not necessary when decoding, but it doesn't hurt, either.

    Ignores all non-Base32 characters. This is how chunked (e.g. 76 character) data is handled, since CR and LF are silently ignored, but has implications for other bytes, too. This method subscribes to the garbage-in, garbage-out philosophy: it will not check the provided data for validity.

    @param in byte[] array of ascii data to Base32 decode. @param inPos Position to start reading data from. @param inAvail Amount of bytes available from input for encoding. @param context the context to be usedOutput is written to {@link Context#buffer} as 8-bit octets, using {@link Context#pos} as the buffer position
  • org.apache.commons.codec.binary.Base64.decode()
    Decodes an Object using the base64 algorithm. This method is provided in order to satisfy the requirements of the Decoder interface, and will throw a DecoderException if the supplied object is not of type byte[]. @param pObject Object to decode @return An object (of type byte[]) containing the binary data which corresponds to the byte[] supplied. @throws DecoderException if the parameter supplied is notof type byte[]
  • org.apache.commons.codec.binary.Hex.decode()
    Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values. The returned array will be half the length of the passed array, as it takes two characters to represent any given byte. An exception is thrown if the passed char array has an odd number of elements. @param array An array of character bytes containing hexadecimal digits @return A byte array containing binary data decoded from the supplied byte array (representing characters). @throws DecoderException Thrown if an odd number of characters is supplied to this function @see #decodeHex(char[])
  • org.apache.commons.codec.net.QuotedPrintableCodec.decode()
    Decodes an array of quoted-printable characters into an array of original bytes. Escaped characters are converted back to their original representation.

    This function fully implements the quoted-printable encoding specification (rule #1 through rule #5) as defined in RFC 1521. @param bytes array of quoted-printable characters @return array of original bytes @throws DecoderException Thrown if quoted-printable decoding is unsuccessful

  • org.apache.commons.codec.net.URLCodec.decode()
    Decodes an array of URL safe 7-bit characters into an array of original bytes. Escaped characters are converted back to their original representation. @param bytes array of URL safe characters @return array of original bytes @throws DecoderException Thrown if URL decoding is unsuccessful
  • org.apache.commons.imaging.formats.jpeg.decoder.JpegDecoder.decode()
  • org.apache.directory.api.asn1.ber.Asn1Decoder.decode()
    The decoder main function. This is where we read bytes from the stream and go through the automaton. It's an inifnite loop which stop when no more bytes are to be read. It can occurs if the ByteBuffer is exhausted or if the PDU has been fully decoded. @param stream The ByteBuffer containing the PDU to decode @param container The container that store the state, the resultand other elements. @throws DecoderException Thrown if anything went wrong!
  • org.apache.directory.api.ldap.codec.api.LdapDecoder.decode()
    Decodes a PDU from an input stream into a Ldap message container. We can only decode one complete message. @param in The input stream to read and decode PDU bytes from @return return The decoded message
  • org.apache.directory.api.ldap.codec.controls.search.entryChange.EntryChangeDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.api.ldap.codec.controls.search.pagedSearch.PagedResultsDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.api.ldap.codec.controls.search.persistentSearch.PersistentSearchDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.api.ldap.codec.controls.search.subentries.SubentriesDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.api.ldap.codec.controls.sort.SortRequestDecorator.decode()
  • org.apache.directory.api.ldap.codec.controls.sort.SortResponseDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.api.ldap.extras.controls.ppolicy_impl.PasswordPolicyDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncInfoValueDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.api.ldap.extras.extended.ads_impl.cancel.CancelDecoder.decode()
    Decode a PDU which must contain a Cancel extended operation. Note that the stream of bytes much contain a full PDU, not a partial one. @param stream The bytes to be decoded @return An Cancel object @throws DecoderException If the decoding failed
  • org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulDisconnect.GracefulDisconnectDecoder.decode()
    Decode a PDU which must contain a GracefulDisconnect extended operation. Note that the stream of bytes much contain a full PDU, not a partial one. @param stream The bytes to be decoded @return An GracefulDisconnect object @throws DecoderException If the decoding failed
  • org.apache.directory.api.ldap.model.message.controls.OpaqueControl.decode()
  • org.apache.directory.server.changepw.io.ChangePasswordRequestDecoder.decode()
    Decodes a {@link ByteBuffer} into a {@link ChangePasswordRequest}. @param buf @return The {@link ChangePasswordRequest}. @throws IOException
  • org.apache.directory.server.dhcp.io.DhcpMessageDecoder.decode()
    Convert a byte buffer into a DhcpMessage. @return a DhcpMessage. @param buffer ByteBuffer to convert to a DhcpMessage object @throws DhcpException
  • org.apache.directory.server.kerberos.shared.io.decoder.ApplicationReplyDecoder.decode()
    Decodes a byte array into an {@link ApplicationReply}. @param encodedAuthHeader @return The {@link ApplicationReply}. @throws IOException
  • org.apache.directory.server.kerberos.shared.io.decoder.ApplicationRequestDecoder.decode()
    Decodes a byte array into an {@link ApplicationRequest}. @param encodedAuthHeader @return The {@link ApplicationRequest}. @throws IOException
  • org.apache.directory.server.kerberos.shared.io.decoder.Decoder.decode()
    Decodes the byte array into an {@link Encodable} object. @param object @return The {@link Encodable} object. @throws IOException
  • org.apache.directory.server.kerberos.shared.io.decoder.ErrorMessageDecoder.decode()
    Decodes a {@link ByteBuffer} into an {@link ErrorMessage}. KRB-ERROR ::= [APPLICATION 30] SEQUENCE @param in @return The {@link ErrorMessage}. @throws IOException
  • org.apache.directory.server.kerberos.shared.io.decoder.PrivateMessageDecoder.decode()
    Decodes a byte array into a {@link PrivateMessage}. @param encodedPrivateMessage @return The {@link PrivateMessage}. @throws IOException
  • org.apache.directory.server.ntp.io.NtpMessageDecoder.decode()
    Decodes the {@link ByteBuffer} into an {@link NtpMessage}. @param request @return The {@link NtpMessage}.
  • org.apache.directory.shared.ldap.codec.LdapDecoder.decode()
    Decodes a PDU from an input stream into a Snickers compiler generated stub envelope. @param lock Lock object used to exclusively read from the input stream @param in The input stream to read and decode PDU bytes from @return return decoded stub
  • org.apache.directory.shared.ldap.codec.api.LdapDecoder.decode()
    Decodes a PDU from an input stream into a Ldap message container. We can only decode one complete message. @param in The input stream to read and decode PDU bytes from @return return The decoded message
  • org.apache.directory.shared.ldap.codec.controls.search.entryChange.EntryChangeDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.codec.controls.search.pagedSearch.PagedResultsDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.codec.controls.search.persistentSearch.PersistentSearchDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.codec.controls.search.subentries.SubentriesDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.codec.extended.operations.certGeneration.CertGenerationDecoder.decode()
  • org.apache.directory.shared.ldap.codec.extended.operations.storedProcedure.StoredProcedureDecoder.decode()
  • org.apache.directory.shared.ldap.codec.search.controls.entryChange.EntryChangeControlDecoder.decode()
  • org.apache.directory.shared.ldap.extras.controls.ppolicy.PasswordPolicyDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.extras.controls.ppolicy_impl.PasswordPolicyDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncDoneValueDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncInfoValueDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncModifyDnDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncRequestValueDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncStateValueDecorator.decode()
    {@inheritDoc}
  • org.apache.directory.shared.ldap.extras.extended.ads_impl.CancelDecoder.decode()
    Decode a PDU which must contain a Cancel extended operation. Note that the stream of bytes much contain a full PDU, not a partial one. @param stream The bytes to be decoded @return An Cancel object @throws DecoderException If the decoding failed
  • org.apache.directory.shared.ldap.extras.extended.ads_impl.CertGenerationDecoder.decode()
    Decode a PDU which must contain a CertGenRequest extended operation. Note that the stream of bytes much contain a full PDU, not a partial one. @param stream The bytes to be decoded @return a CertGenerationObject object @throws org.apache.directory.shared.asn1.DecoderException If the decoding failed
  • org.apache.directory.shared.ldap.extras.extended.ads_impl.GracefulDisconnectDecoder.decode()
    Decode a PDU which must contain a GracefulDisconnect extended operation. Note that the stream of bytes much contain a full PDU, not a partial one. @param stream The bytes to be decoded @return An GracefulDisconnect object @throws DecoderException If the decoding failed
  • org.apache.directory.shared.ldap.extras.extended.ads_impl.GracefulShutdownDecoder.decode()
    Decode a PDU which must contain a GracefulShutdown extended operation. Note that the stream of bytes much contain a full PDU, not a partial one. @param stream The bytes to be decoded @return An GracefulShutdown object @throws org.apache.directory.shared.asn1.DecoderException If the decoding failed
  • org.apache.directory.shared.ldap.extras.extended.ads_impl.cancel.CancelDecoder.decode()
    Decode a PDU which must contain a Cancel extended operation. Note that the stream of bytes much contain a full PDU, not a partial one. @param stream The bytes to be decoded @return An Cancel object @throws DecoderException If the decoding failed
  • org.apache.directory.shared.ldap.extras.extended.ads_impl.gracefulDisconnect.GracefulDisconnectDecoder.decode()
    Decode a PDU which must contain a GracefulDisconnect extended operation. Note that the stream of bytes much contain a full PDU, not a partial one. @param stream The bytes to be decoded @return An GracefulDisconnect object @throws DecoderException If the decoding failed
  • org.apache.directory.shared.ldap.message.MessageDecoder.decode()
  • org.apache.directory.shared.ldap.model.message.controls.OpaqueControl.decode()
  • org.apache.geronimo.mail.util.RFC2231Encoder.decode()
    decode the RFC2231 encoded byte data writing it to the given output stream @return the number of bytes produced.
  • org.apache.hadoop.oncrpc.RpcUtil.RpcFrameDecoder.decode()
  • org.apache.harmony.jndi.provider.ldap.LdapMessage.decode()
    Decode values from InputStream using ASN.1 BER, and the decoded values will initialize this LdapMessage instance. @param in @throws IOException error occurs when decoding
  • org.apache.harmony.pack200.BHSDCodec.decode()
  • org.apache.harmony.pack200.Codec.decode()
    Decode a sequence of bytes from the given input stream, returning the value as a long. Note that this method can only be applied for non-delta encodings. @param in the input stream to read from @return the value as a long @throws IOException if there is a problem reading from the underlying input stream @throws Pack200Exception if the encoding is a delta encoding
  • org.apache.harmony.pack200.RunCodec.decode()
  • org.apache.harmony.security.asn1.ASN1BitString.decode()
  • org.apache.harmony.security.asn1.ASN1BitString.ASN1NamedBitList.decode()
  • org.apache.harmony.security.asn1.ASN1Boolean.decode()
  • org.apache.harmony.security.asn1.ASN1Choice.decode()
  • org.apache.harmony.security.asn1.ASN1Explicit.decode()
  • org.apache.harmony.security.asn1.ASN1Implicit.decode()
    TODO
  • org.apache.harmony.security.asn1.ASN1Integer.decode()
  • org.apache.harmony.security.asn1.ASN1Oid.decode()
  • org.apache.harmony.security.asn1.ASN1Sequence.decode()
  • org.apache.harmony.security.asn1.ASN1SequenceOf.decode()
  • org.apache.http.client.utils.Rfc3492Idn.decode()
  • org.apache.isis.runtimes.dflt.remoting.common.protocol.PersistenceQueryEncoder.decode()
  • org.apache.james.imap.decode.FetchPartPathDecoder.decode()
  • org.apache.lucene.facet.encoding.IntDecoder.decode()
    Decodes the values from the buffer into the given {@link IntsRef}. Note that {@code values.offset} is set to 0, and {@code values.length} isupdated to denote the number of decoded values.
  • org.apache.lucene.util.encoding.DGapIntDecoder.decode()
  • org.apache.lucene.util.encoding.IntDecoder.decode()
    Decodes data received from the input stream, and returns one decoded integer. If end of stream is reached, {@link #EOS} is returned. @return one decoded integer as long or {@link #EOS} if end-of-streamreached. @throws IOException if an I/O error occurs
  • org.apache.mina.coap.codec.CoapDecoder.decode()
    {@inheritDoc}
  • org.apache.mina.filter.codec.ProtocolDecoder.decode()
    Decodes binary or protocol-specific content into higher-level message objects. MINA invokes {@link #decode(IoSession,ByteBuffer,ProtocolDecoderOutput)}method with read data, and then the decoder implementation puts decoded messages into {@link ProtocolDecoderOutput}. @throws Exception if the read data violated protocol specification
  • org.apache.mina.filter.codec.demux.DemuxingProtocolDecoder.decode()
  • org.apache.mina.protocol.ProtocolDecoder.decode()
    Decodes binary or protocol-specific content into higher-level message objects. MINA invokes {@link #decode(ProtocolSession,ByteBuffer,ProtocolDecoderOutput)}method with read data, and then the decoder implementation puts decoded messages into {@link ProtocolDecoderOutput}. @throws ProtocolViolationException if the read data violated protocolspecification
  • org.apache.mina.util.Base64.decode()
    Decodes an Object using the base64 algorithm. This method is provided in order to satisfy the requirements of the Decoder interface, and will throw a DecoderException if the supplied object is not of type byte[]. @param pObject Object to decode @return An object (of type byte[]) containing the binary data which corresponds to the byte[] supplied. @throws InvalidParameterException if the parameter supplied is notof type byte[]
  • org.apache.myfaces.tobago.component.UIPage.decode()
  • org.apache.myfaces.tobago.internal.component.AbstractUIPage.decode()
  • org.apache.pdfbox.filter.Filter.decode()
    Decodes data, producing the original non-encoded data. @param encoded the encoded byte stream @param decoded the stream where decoded data will be written @param parameters the parameters used for decoding @param index the index to the filter being decoded @return repaired parameters dictionary, or the original parameters dictionary @throws IOException if the stream cannot be decoded
  • org.apache.pdfbox.pdmodel.graphics.predictor.PredictorAlgorithm.decode()
    decode a byte array full of image data using the filter that this object implements. @param src buffer @param dest buffer
  • org.apache.pluto.util.NamespaceMapper.decode()
  • org.apache.poi.hdgf.HDGFLZW.decode()
    Decompresses the given input stream, returning the array of bytes of the decompressed input.
  • org.apache.poi.hdgf.LZW4HDGF.decode()
  • org.apache.poi.hssf.record.DrawingGroupRecord.decode()
  • org.apache.qpid.agent.binding.TypeBinding.decode()
  • org.apache.qpid.codec.AMQDecoder.decode()
    Cumulates content of in into internal buffer and forwards decoding request to {@link #doDecode(IoSession,ByteBuffer,ProtocolDecoderOutput)}. doDecode() is invoked repeatedly until it returns false and the cumulative buffer is compacted after decoding ends. @throws IllegalStateException if your doDecode() returnedtrue not consuming the cumulative buffer.
  • org.apache.qpid.proton.message.Message.decode()
  • org.apache.qpid.proton.message.ProtonJMessage.decode()
  • org.apache.qpid.proton.message.impl.MessageImpl.decode()
  • org.apache.sanselan.formats.jpeg.decoder.JpegDecoder.decode()
  • org.apache.shale.component.Token.decode()
  • org.apache.tapestry.upload.services.MultipartDecoder.decode()
    Decodes the request, returning a new {@link javax.servlet.http.HttpServletRequest}implementation that will allow access to the form fields submitted in the request (but omits uploaded files). @param request The incoming servlet request @return decoded http request
  • org.apache.tapestry5.upload.services.MultipartDecoder.decode()
    Decodes the request, returning a new {@link javax.servlet.http.HttpServletRequest} implementation that will allowaccess to the form fields submitted in the request (but omits uploaded files). @param request The incoming servlet request @return decoded http request
  • org.apache.tomcat.util.buf.Utf8Decoder.decode()
  • org.apache.tuscany.sca.binding.notification.encoding.DefaultEncodingRegistry.decode()
  • org.apache.vysper.xml.decoder.XMLStreamTokenizer.decode()
  • org.apache.wicket.request.IRequestCodingStrategy.decode()
    Analyze the request and create a corresponding request parameters object for it. @param request the incoming request @return a request parameters object that corresponds to the request
  • org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy.decode()
    Gets the decoded request target. @param requestParameters the request parameters @return the decoded request target
  • org.azeckoski.reflectutils.transcoders.Transcoder.decode()
  • org.bouncycastle.util.encoders.Base64Encoder.decode()
    decode the base 64 encoded byte data writing it to the given output stream, whitespace characters will be ignored. @return the number of bytes produced.
  • org.broad.igv.feature.tribble.IGVBEDCodec.decode()
  • org.broad.igv.feature.tribble.PSLCodec.decode()
  • org.bson.BSONDecoder.decode()
  • org.bson.BasicBSONDecoder.decode()
  • org.cipango.dns.DnsMessage.decode()
  • org.codehaus.preon.Codec.decode()
    Decodes a value from the {@link BitBuffer}. @param buffer The {@link BitBuffer} containing the data from which a value will be decoded. @param resolver The object capable of resolving variable references, when required. @param builder The object responsible for creating default instances of objects, when needed. (In reality, thisis most likely going to be important to {@link org.codehaus.preon.codec.ObjectCodecFactory ObjectCodecFactories} only, but in order to make sure the {@link Builder} arrives there, we needto have the ability to pass it in. @return The decoded value. @throws DecodingException If the {@link Codec} fails to decode the value.
  • org.codehaus.stax2.ri.typed.CharArrayBase64Decoder.decode()
    @param resultBuffer Buffer in which decoded bytes are returned @param resultOffset Offset that points to position to put thefirst decoded byte in maxLength Maximum number of bytes that can be returned in given buffer @return Number of bytes decoded and returned in the result buffer
  • org.eclipse.jetty.util.UrlEncoded.decode()
  • org.elasticsearch.common.netty.handler.codec.http.CookieDecoder.decode()
  • org.encog.ml.genetic.genome.Genome.decode()
    Use the genes to update the organism.
  • org.encog.neural.neat.NEATCODEC.decode()
    {@inheritDoc}
  • org.fusesource.mqtt.codec.CONNACK.decode()
  • org.fusesource.mqtt.codec.PUBLISH.decode()
  • org.gatein.pc.controller.impl.ControllerRequestFactory.decode()
    Create a controller request. @param req the web request @return the decoded controller request
  • org.gatein.pc.test.controller.unit.ControllerRequestFactory.decode()
    Create a controller request. @param req the web request @return the decoded controller request
  • org.geolatte.geom.codec.WkbDecoder.decode()
  • org.geoserver.security.password.GeoServerMultiplexingPasswordEncoder.decode()
  • org.geoserver.wps.transmute.ComplexTransmuter.decode()
    Used to decode external XML documents for use as process inputs @param stream @return
  • org.geoserver.wps.transmute.LiteralTransmuter.decode()
    Decode string value into Java type @param str @return
  • org.hive2hive.core.security.H2HSignatureCodec.decode()
  • org.hornetq.api.core.TransportConfiguration.decode()
    Decodes this TransportConfiguration from a buffer.

    Note this is only used internally by HornetQ @param buffer the buffer to decode from

  • org.hornetq.core.journal.EncodingSupport.decode()
  • org.hornetq.core.paging.PageTransactionInfo.decode()
  • org.hornetq.core.paging.PagedMessage.decode()
  • org.hornetq.core.paging.impl.PageTransactionInfoImpl.decode()
  • org.hornetq.core.persistence.config.PersistedAddressSetting.decode()
  • org.hornetq.core.persistence.config.PersistedRoles.decode()
  • org.hornetq.core.persistence.impl.journal.BatchingIDGenerator.IDCounterEncoding.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.CursorAckRecordEncoding.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.DeliveryCountUpdateEncoding.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.DuplicateIDEncoding.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.HeuristicCompletionEncoding.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.LargeMessageEncoding.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.PageCountPendingImpl.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.PageCountRecord.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.PageCountRecordInc.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.PageUpdateTXEncoding.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.PendingLargeMessageEncoding.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.RefEncoding.decode()
  • org.hornetq.core.persistence.impl.journal.JournalStorageManager.ScheduledDeliveryEncoding.decode()
  • org.hornetq.core.protocol.core.Packet.decode()
    decodes the buffer into this packet @param buffer the buffer to decode from
  • org.hornetq.core.server.ServerMessage.decode()
  • org.hornetq.core.server.impl.ServerMessageImpl.decode()
  • org.hornetq.jms.persistence.config.PersistedConnectionFactory.decode()
  • org.hornetq.jms.persistence.config.PersistedDestination.decode()
  • org.hornetq.jms.persistence.config.PersistedJNDI.decode()
  • org.hornetq.utils.DefaultSensitiveStringCodec.decode()
  • org.hornetq.utils.TypedProperties.decode()
  • org.java_websocket.WebSocketImpl.decode()
  • org.jboss.netty.handler.codec.http.CookieDecoder.decode()
  • org.jboss.ws.extensions.security.SecurityDecoder.decode()
  • org.jbpm.formapi.shared.form.FormRepresentationDecoder.decode()
  • org.jdesktop.binding.metadata.Converter.decode()
    Converts the specified String value to an object that is an instance of the class associated with this converter instance. @param value String object to be converted @param format object containing string format information, or nullif format information is either not relevant or unspecified @return Object which contains the converted value as an instance ofthe class associated with this converter @throws ConversionException if the conversion could not be performed
  • org.jfree.fonts.encoding.Encoding.decode()
  • org.jpedal.sun.LZWDecoder.decode()
    Method to decode LZW compressed data. @param data The compressed data. @param uncompData Array to return the uncompressed data in. @param boolean Default should be true. RE: PDF spec EarlyChange
  • org.jpedal.sun.LZWDecoder2.decode()
    Method to decode LZW compressed data.. @param data The compressed data.
  • org.jpedal.sun.TIFFLZWDecoder.decode()
    Method to decode LZW compressed data. @param data The compressed data. @param uncompData Array to return the uncompressed data in. @param h The number of rows the compressed data contains.
  • org.jscep.message.PkiMessageDecoder.decode()
    Decodes the provided PKCS #7 signedData into a PkiMessage @param pkiMessage the signedData to decode. @return the decoded PkiMessage @throws MessageDecodingException if there is a problem decoding the signedData
  • org.jscsi.scsi.protocol.inquiry.StandardInquiryData.decode()
  • org.jscsi.scsi.protocol.sense.SenseDataFactory.decode()
  • org.jscsi.scsi.protocol.sense.additional.SenseKeySpecificField.decode()
  • org.jtester.json.decoder.JSONDecoder.decode()
    从json字符串反序列为java对象 @param json @return
  • org.jwall.web.audit.util.Base64Codec.decode()
    Decode a chunk of bytes using Base64 decoding. @param data The data to decode. @return The decoded data.
  • org.kc7bfi.jflac.FLACDecoder.decode()
    Decode the FLAC file. @throws IOException On read error
  • org.mapfish.geo.MfGeoJSONReader.decode()
  • org.mongodb.morphia.converters.IntegerConverter.decode()
  • org.neo4j.smack.pipeline.http.HttpHeaderDecoder.decode()
  • org.newdawn.slick.opengl.PNGDecoder.decode()
  • org.nfctools.ndef.NdefMessageDecoder.decode()
  • org.objectweb.joram.client.jms.ConnectionFactory.decode()
  • org.ocpsoft.rewrite.servlet.util.QueryStringBuilder.decode()
    Return a new {@link QueryStringBuilder} instance having called {@link URLDecoder#decode(String,String)} on eachname=value pair.
  • org.opensaml.ws.message.decoder.MessageDecoder.decode()
    Decodes a message in a binding specific manner. @param messageContext current message context @throws MessageDecodingException thrown if the message can not be decoded @throws SecurityException thrown if the decoded message does not meet the required security constraints
  • org.pdfbox.filter.Filter.decode()
    This will decode some compressed data. @param compressedData The compressed byte stream. @param result The place to write the uncompressed byte stream. @param options The options to use to encode the data. @throws IOException If there is an error decompressing the stream.
  • org.pdfbox.pdmodel.graphics.predictor.PredictorAlgorithm.decode()
    decode a byte array full of image data using the filter that this object implements. @param src buffer @param dest buffer
  • org.pdfclown.documents.contents.fonts.Font.decode()
    Gets the text from the given internal representation. @param code Internal representation to decode. @since 0.0.6
  • org.pentaho.reporting.libraries.fonts.encoding.Encoding.decode()
  • org.postgresql.core.Encoding.decode()
    Decode an array of bytes into a string. @param encodedString a bytearray containing the encoded string the string to encod @param offset the offset in encodedString of the first byte of the encoded representation @param length the length, in bytes, of the encoded representation @return the decoded string @throws IOException if something goes wrong
  • org.primefaces.component.datatable.feature.DataTableFeature.decode()
  • org.python.core.PyString.decode()
  • org.sat4j.reader.InstanceReader.decode()
  • org.sat4j.reader.Reader.decode()
    Produce a model using the reader format. @param model a model using the Dimacs format. @return a human readable view of the model.
  • org.serviceconnector.net.IEncoderDecoder.decode()
    Decode input stream. @param is the is to decode @return the object decoded @throws Exception the exception
  • org.springframework.messaging.simp.stomp.BufferingStompDecoder.decode()
    Decodes one or more STOMP frames from the given {@code ByteBuffer} into alist of {@link Message}s.

    If there was enough data to parse a "content-length" header, then the value is used to determine how much more data is needed before a new attempt to decode is made.

    If there was not enough data to parse the "content-length", or if there is "content-length" header, every subsequent call to decode attempts to parse again with all available data. Therefore the presence of a "content-length" header helps to optimize the decoding of large messages. @param newBuffer a buffer containing new data to decode @return decoded messages or an empty list @throws StompConversionException raised in case of decoding issues

  • org.springframework.web.socket.sockjs.frame.SockJsMessageCodec.decode()
    Decode the given SockJS message frame. @param content the SockJS message frame @return an array of messages, or {@code null} if none @throws IOException if the content could not be parsed
  • org.vietspider.chars.refs.RefsDecoder.decode()
  • org.zkoss.zk.au.AuDecoder.decode()
    Returns a list of {@link AuRequest} by decoding the request. @param request the request. For HTTP, it is HttpServletRequest.
  • pl.mkaczara.bch.decoder.BCHDecoder.decode()
    Dekoduje slowa kodu BCH @param input tablica bajow z zakodowanymi slowami kodu @return tablica bajtow z odkodowanymi slowami
  • plugins.Freetalk.ui.NNTP.MIME.TransferEncoding.decode()
    Decode text from this representation.
  • ucar.jpeg.jj2000.j2k.decoder.Grib2JpegDecoder.decode()
    Runs the decoder. After completion the exit code is set, a non-zero value indicates that an error ocurred. @see #getExitCode
  • xbird.xquery.dm.coder.XQEventDecoder.decode()

  • Examples of com.cloudhopper.mq.transcoder.Transcoder.decode()

          // get the transcoder
          Transcoder tc = queue.getTranscoder();

          try {
              // transcode the item
              Object item = item = tc.decode(entityContent);
              logger.trace("[{}] Parsed item: {}", queueName, item);

              try {
            // if we get here, put the item ont the queue
            // delegate the actual "putting" of the item
    View Full Code Here

    Examples of com.cloudhopper.smpp.transcoder.DefaultPduTranscoder.decode()

            PduTranscoderContext context = new DefaultPduTranscoderContext();
            PduTranscoder transcoder = new DefaultPduTranscoder(context);

            ChannelBuffer buffer0 = BufferHelper.createBuffer("000000BA00000005000000000000000200010134343935313336313932300001013430343034000400000000000000006E69643A30303539313133393738207375623A30303120646C7672643A303031207375626D697420646174653A3130303231303137333020646F6E6520646174653A3130303231303137333120737461743A44454C49565244206572723A30303020746578743A4024232125262F3A000E0001010006000101001E000833383630316661000427000102");

            DeliverSm pdu0 = (DeliverSm)transcoder.decode(buffer0);

            // id:0059113978 sub:001 dlvrd:001 submit date:1002101730 done date:1002101731 stat:DELIVRD err:000 text:@$#!%&/:
            byte[] sm0 = pdu0.getShortMessage();

            String message0 = new String(sm0, "ISO-8859-1");
    View Full Code Here

    Examples of com.cloudhopper.smpp.transcoder.PduTranscoder.decode()

            PduTranscoderContext context = new DefaultPduTranscoderContext();
            PduTranscoder transcoder = new DefaultPduTranscoder(context);

            ChannelBuffer buffer0 = BufferHelper.createBuffer("000000BA00000005000000000000000200010134343935313336313932300001013430343034000400000000000000006E69643A30303539313133393738207375623A30303120646C7672643A303031207375626D697420646174653A3130303231303137333020646F6E6520646174653A3130303231303137333120737461743A44454C49565244206572723A30303020746578743A4024232125262F3A000E0001010006000101001E000833383630316661000427000102");

            DeliverSm pdu0 = (DeliverSm)transcoder.decode(buffer0);

            // id:0059113978 sub:001 dlvrd:001 submit date:1002101730 done date:1002101731 stat:DELIVRD err:000 text:@$#!%&/:
            byte[] sm0 = pdu0.getShortMessage();

            String message0 = new String(sm0, "ISO-8859-1");
    View Full Code Here

    Examples of com.commons.UrlData.decode()

          org.apache.hadoop.mapreduce.Mapper<Object, Text, Text, Text>.Context context)
          throws IOException, InterruptedException {
        LoggerUtils.log(DataGettingMapper.class.getName(), "map key:" + key
            + " value:" + value);
        UrlData data = new UrlData();
        data.decode(value.toString());
        Text outputKey = new Text();
        outputKey.set(data.getUrlName());
        Text url = new Text();
        url.set(data.getUrl());
        context.write(outputKey, url);
    View Full Code Here

    Examples of com.dianping.cat.message.spi.MessageCodec.decode()

        for (int i = 0; i < count; i++) {

          buf.markReaderIndex();
          // read the size of the message
          buf.readInt();
          DefaultMessageTree result = (DefaultMessageTree) codec.decode(buf);
          buf.resetReaderIndex();
          result.setBuffer(buf);
        }
      }
    View Full Code Here

    Examples of com.dianping.cat.message.spi.codec.PlainTextMessageCodec.decode()

        codec.encode(tree, buf);

        buf.readInt();
        MessageTree tree2 = new DefaultMessageTree();
        codec.decode(buf, tree2);

        Thread.sleep(1000);
      }

      @Test
    View Full Code Here

    Examples of com.dianping.cat.message.spi.codec.PlainTextMessageCodec1.decode()

        buf.markReaderIndex();

        long current = System.currentTimeMillis();
        for (int i = 0; i < count; i++) {
          MessageTree tree2 = new DefaultMessageTree();
          codec.decode(buf, tree2);
          buf.resetReaderIndex();
        }
        System.out.println("Cost:" + (System.currentTimeMillis() - current));

        Thread.sleep(1000);
    View Full Code Here

    Examples of com.fasterxml.storemate.shared.util.UTF8UrlEncoder.decode()

        public void testDecoding()
        {
            UTF8UrlEncoder enc = new UTF8UrlEncoder(true);

            // slash handling
            assertEquals("here/then", enc.decode("here/then"));
            assertEquals("here/then", enc.decode("here%2Fthen"));
           
            // non-ASCII:
            assertEquals("This: \u00A9...", enc.decode("This%3A+%C2%A9..."));
            assertEquals("test/Stuff-\u00A9", enc.decode("test/Stuff-%C2%A9"));
    View Full Code Here

    Examples of com.github.jmkgreen.morphia.converters.IntegerConverter.decode()

       
        @Override
        public Object decode(Class targetClass, Object fromDBObject, MappedField optionalExtraInfo) throws MappingException {
          if (fromDBObject == null) return null;
          IntegerConverter intConv = new IntegerConverter();
          Integer i = (Integer)intConv.decode(targetClass, fromDBObject, optionalExtraInfo);
          return new Character((char)i.intValue());
        }
       
        @Override
        public Object encode(Object value, MappedField optionalExtraInfo) {
    View Full Code Here

    Examples of com.github.xgameenginee.core.ProtocolCoder.decode()

        @Override
        protected Object decode(ChannelHandlerContext ctx, Channel ch, ChannelBuffer cb) throws Exception {
            ChannelBuffer buffer = (ChannelBuffer) super.decode(ctx, ch, cb);
            ProtocolCoder coder = GameBoss.getInstance().getProtocolCoder();
            if (coder != null && buffer != null) {
                byte[] decodebytes = coder.decode(buffer.array());
                return ChannelBuffers.wrappedBuffer(decodebytes);
            }
            return buffer;
        }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. 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.