Class VirtualFileHelper


  • public class VirtualFileHelper
    extends java.lang.Object
    • Constructor Detail

      • VirtualFileHelper

        public VirtualFileHelper()
    • Method Detail

      • createTempFile

        public static com.intellij.openapi.vfs.VirtualFile createTempFile​(java.lang.String name,
                                                                          java.lang.String content)
                                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • cleanContent

        @Deprecated
        public static java.lang.String cleanContent​(java.lang.String content)
        Deprecated.
        Deprecated since 1.8.0, use MetadataClutter.remove(String) instead.
        Removes the clutter properties CommonConstants.metadataClutter from the given resource.
        Parameters:
        content - the content to clean
        Returns:
        the content without the clutter properties