cpw.mods.fml.common

## Class MetadataCollection.ArtifactVersionAdapter

- java.lang.Object
- - com.google.gson.TypeAdapter<ArtifactVersion>
  - - cpw.mods.fml.common.MetadataCollection.ArtifactVersionAdapter

- Enclosing class:
    MetadataCollection

      public static class MetadataCollection.ArtifactVersionAdapter
      extends com.google.gson.TypeAdapter<ArtifactVersion>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MetadataCollection.ArtifactVersionAdapter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ArtifactVersion` | `read(com.google.gson.stream.JsonReader in)`
    `void` | `write(com.google.gson.stream.JsonWriter out, ArtifactVersion value)`

    - ### Methods inherited from class com.google.gson.TypeAdapter

      `fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MetadataCollection.ArtifactVersionAdapter

          public MetadataCollection.ArtifactVersionAdapter()

  - ### Method Detail

    - #### write

          public void write(com.google.gson.stream.JsonWriter out,
                   ArtifactVersion value)
                     throws java.io.IOException

      Specified by:
        `write` in class `com.google.gson.TypeAdapter<ArtifactVersion>`
      Throws:
        `java.io.IOException`

    - #### read

          public ArtifactVersion read(com.google.gson.stream.JsonReader in)
                               throws java.io.IOException

      Specified by:
        `read` in class `com.google.gson.TypeAdapter<ArtifactVersion>`
      Throws:
        `java.io.IOException`