src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java

Print this page




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.awt.shell;
  27 
  28 import java.awt.*;
  29 import java.awt.image.BufferedImage;
  30 
  31 import java.io.File;
  32 import java.io.FileNotFoundException;
  33 import java.io.IOException;
  34 import java.security.AccessController;
  35 import java.security.PrivilegedAction;
  36 import java.util.*;
  37 import java.util.List;
  38 import java.util.concurrent.*;
  39 
  40 import static sun.awt.shell.Win32ShellFolder2.*;
  41 import sun.awt.OSInfo;
  42 import sun.misc.ThreadGroupUtils;
  43 
  44 // NOTE: This class supersedes Win32ShellFolderManager, which was removed
  45 //       from distribution after version 1.4.2.
  46 
  47 /**
  48  * @author Michael Martak
  49  * @author Leif Samuelsson
  50  * @author Kenneth Russell
  51  * @since 1.4
  52  */
  53 
  54 public class Win32ShellFolderManager2 extends ShellFolderManager {
  55 
  56     static {
  57         // Load library here
  58         sun.awt.windows.WToolkit.loadLibraries();
  59     }
  60 
  61     public ShellFolder createShellFolder(File file) throws FileNotFoundException {
  62         try {




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.awt.shell;
  27 
  28 import java.awt.*;
  29 import java.awt.image.BufferedImage;
  30 
  31 import java.io.File;
  32 import java.io.FileNotFoundException;
  33 import java.io.IOException;
  34 import java.security.AccessController;
  35 import java.security.PrivilegedAction;
  36 import java.util.*;
  37 import java.util.List;
  38 import java.util.concurrent.*;
  39 
  40 import static sun.awt.shell.Win32ShellFolder2.*;
  41 import sun.awt.OSInfo;
  42 import sun.awt.util.ThreadGroupUtils;
  43 
  44 // NOTE: This class supersedes Win32ShellFolderManager, which was removed
  45 //       from distribution after version 1.4.2.
  46 
  47 /**
  48  * @author Michael Martak
  49  * @author Leif Samuelsson
  50  * @author Kenneth Russell
  51  * @since 1.4
  52  */
  53 
  54 public class Win32ShellFolderManager2 extends ShellFolderManager {
  55 
  56     static {
  57         // Load library here
  58         sun.awt.windows.WToolkit.loadLibraries();
  59     }
  60 
  61     public ShellFolder createShellFolder(File file) throws FileNotFoundException {
  62         try {