120 public T parameter() { 121 Wrapper<?> wrapper = internalToExternal.get(this); 122 if (wrapper == null) 123 return null; 124 else 125 return (T) wrapper.parameter(); 126 } 127 } 128 129 // Internal equivalents of the options and modifiers defined in 130 // package com.sun.nio.file 131 132 public static final InternalOption<Void> INTERRUPTIBLE = new InternalOption<>(); 133 134 public static final InternalOption<Void> NOSHARE_READ = new InternalOption<>(); 135 public static final InternalOption<Void> NOSHARE_WRITE = new InternalOption<>(); 136 public static final InternalOption<Void> NOSHARE_DELETE = new InternalOption<>(); 137 138 public static final InternalOption<Void> FILE_TREE = new InternalOption<>(); 139 140 public static final InternalOption<Integer> SENSITIVITY_HIGH = new InternalOption<>(); 141 public static final InternalOption<Integer> SENSITIVITY_MEDIUM = new InternalOption<>(); 142 public static final InternalOption<Integer> SENSITIVITY_LOW = new InternalOption<>(); 143 } | 120 public T parameter() { 121 Wrapper<?> wrapper = internalToExternal.get(this); 122 if (wrapper == null) 123 return null; 124 else 125 return (T) wrapper.parameter(); 126 } 127 } 128 129 // Internal equivalents of the options and modifiers defined in 130 // package com.sun.nio.file 131 132 public static final InternalOption<Void> INTERRUPTIBLE = new InternalOption<>(); 133 134 public static final InternalOption<Void> NOSHARE_READ = new InternalOption<>(); 135 public static final InternalOption<Void> NOSHARE_WRITE = new InternalOption<>(); 136 public static final InternalOption<Void> NOSHARE_DELETE = new InternalOption<>(); 137 138 public static final InternalOption<Void> FILE_TREE = new InternalOption<>(); 139 140 public static final InternalOption<Void> DIRECT = new InternalOption<>(); 141 142 public static final InternalOption<Integer> SENSITIVITY_HIGH = new InternalOption<>(); 143 public static final InternalOption<Integer> SENSITIVITY_MEDIUM = new InternalOption<>(); 144 public static final InternalOption<Integer> SENSITIVITY_LOW = new InternalOption<>(); 145 } |