Class ResourcesUtil


  • public class ResourcesUtil
    extends java.lang.Object
    A collection of utility methods related to resources.
    Since:
    5.3
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourcesUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void refreshWorkspaceFiles​(java.net.URI uri)
      Refresh file when it happens to belong to Workspace.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourcesUtil

        public ResourcesUtil()
    • Method Detail

      • refreshWorkspaceFiles

        public static void refreshWorkspaceFiles​(java.net.URI uri)
        Refresh file when it happens to belong to Workspace. There could be multiple workspace IFile associated with one URI. Hint: use URIUtil.toURI(String) to convert filesystem path to URI.
        Parameters:
        uri - - URI of the file.