Add support for Freemind to Wise transformation:

curl http://localhost:8080/service/transform.wise --data @fonts.mm  -H "Content-Type:application/freemind" --post301
This commit is contained in:
Paulo Gustavo Veiga
2012-02-29 20:22:27 -03:00
parent f704e730c9
commit 9f4c928d13
6 changed files with 83 additions and 17 deletions

View File

@@ -38,6 +38,8 @@
<entry key="png" value="image/png"/>
<entry key="jpeg" value="image/jpg"/>
<entry key="svg" value="image/svg+xml"/>
<entry key="svg" value="application/svg+xml"/>
<entry key="wise" value="application/wisemapping+xml"/>
</map>
</property>
<property name="viewResolvers">
@@ -79,4 +81,8 @@
<bean id="transformViewSvg" class="com.wisemapping.rest.view.TransformView">
<constructor-arg value="image/svg+xml"/>
</bean>
<bean id="transformViewWise" class="com.wisemapping.rest.view.ImportTransformationView">
<constructor-arg value="application/wisemapping+xml"/>
</bean>
</beans>