Class VirtualFileHelper
- java.lang.Object
-
- com.redhat.devtools.intellij.common.utils.VirtualFileHelper
-
public class VirtualFileHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VirtualFileHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.StringcleanContent(java.lang.String content)Deprecated.Deprecated since 1.8.0, useMetadataClutter.remove(String)instead.static com.intellij.openapi.vfs.VirtualFilecreateTempFile(java.lang.String name, java.lang.String content)
-
-
-
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, useMetadataClutter.remove(String)instead.Removes the clutter propertiesCommonConstants.metadataClutterfrom the given resource.- Parameters:
content- the content to clean- Returns:
- the content without the clutter properties
-
-