Terai Atsuhiro 2022-06-17 (金) 11:55:49

private boolean isCanonicalPath(File file){
  if(file==null) return false;
  try{
    if(file.getCanonicalPath()==null) return false;
  }catch(IOException ioe){
    return false;
  }
  return true;
}