Examples of TMXMapWriter


Examples of tiled.io.TMXMapWriter

      if (input instanceof IPathEditorInput) {
        IPath path = ((IPathEditorInput) input).getPath();
        basePath = path.toOSString();
      }
      ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
      new TMXMapWriter().writeMap(currentMap, outputStream, basePath);
      byte[] bytes = outputStream.toByteArray();
      document.set(new String(bytes));
      documentProvider.saveDocument(monitor,input,document,true);
      setDirty(false);
    } catch (CoreException e) {
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.