java - Convert org.restlet.data.MediaType to com.google.common.net.MediaType -


I am using reuse to apply a simple recurrence API, and this is to me org. Providing with restlet. Data Media type as a ContentType However, I am trying to use some other API which uses a com.google.common.net.MediaType (from guava) is. What is the best way to convert between these two types?

It seems that you should be able to:

  MediaType Peruvadhava Media = Type.    

Comments

Popular posts from this blog

Out of index C/C++ -

algorithm - Graph cut with python: How to set up the graph correctly? -

objective c - how Set autolayout for multiple dynamic buttons and labells in iOS? -