Package org.silverpeas.wbe.wopi.discovery

## Class WopiDiscovery

- java.lang.Object
- - org.silverpeas.wbe.wopi.discovery.WopiDiscovery

- All Implemented Interfaces:
    `Serializable`

      public class WopiDiscovery
      extends Object
      implements Serializable

  WOPI discovery is the process by which a WOPI host identifies Office for the web capabilities and how to initialize Office for the web applications within a site. WOPI hosts use the discovery XML to determine how to interact with Office for the web.

  This class represents the root element of a discovery XML description file.

  See the explanations of WOPI discovery from official doc.
  Author:
    silveryocha
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `WopiDiscovery()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `consumeBaseUrlMimeType​(BiConsumer<String,​Action> consumer)` |
    `protected NetZone` | `getNetZone()` |
    `static WopiDiscovery` | `load​(InputStream in)` |

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

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

- - ### Constructor Detail

    - #### WopiDiscovery

          public WopiDiscovery()

  - ### Method Detail

    - #### getNetZone

          protected NetZone getNetZone()

    - #### consumeBaseUrlMimeType

          public void consumeBaseUrlMimeType​(BiConsumer<String,​Action> consumer)

    - #### load

          public static WopiDiscovery load​(InputStream in)