org.apache.wicket.util.file.File.getAbsolutePath()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(130)

本文整理了Java中org.apache.wicket.util.file.File.getAbsolutePath()方法的一些代码示例,展示了File.getAbsolutePath()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。File.getAbsolutePath()方法的具体详情如下:
包路径:org.apache.wicket.util.file.File
类名称:File
方法名:getAbsolutePath

File.getAbsolutePath介绍

暂无

代码示例

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
   * @see org.apache.wicket.util.resource.IFixedLocationResourceStream#locationAsString()
   */
  public String locationAsString()
  {
    if (file != null)
    {
      return file.getAbsolutePath();
    }
    return null;
  }
}

代码示例来源:origin: org.apache.wicket/wicket-util

@Override
  public String locationAsString()
  {
    if (file != null)
    {
      return file.getAbsolutePath();
    }
    return null;
  }
}

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

/**
   * @see org.apache.wicket.util.resource.IFixedLocationResourceStream#locationAsString()
   */
  public String locationAsString()
  {
    if (file != null)
    {
      return file.getAbsolutePath();
    }
    return null;
  }
}

代码示例来源:origin: org.apache.wicket/wicket-core

FileResourceStreamReference(final FileResourceStream fileResourceStream)
{
  fileName = fileResourceStream.getFile().getAbsolutePath();
  saveResourceStream(fileResourceStream);
}

代码示例来源:origin: apache/wicket

FileResourceStreamReference(final FileResourceStream fileResourceStream)
{
  fileName = fileResourceStream.getFile().getAbsolutePath();
  saveResourceStream(fileResourceStream);
}

代码示例来源:origin: org.jabylon/log.viewer

@Override
public List<LogFile> getLogFiles() {
  File logFile = new File(System.getProperty("karaf.data"),"log/karaf.log");
  LogFile logFileInfo = new LogFile();
  logFileInfo.setLocation(logFile.getAbsolutePath());
  return Collections.singletonList(logFileInfo);
}

代码示例来源:origin: apache/wicket

+ file.getAbsolutePath());

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

file.getAbsolutePath());

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

file.getAbsolutePath());

代码示例来源:origin: org.apache.wicket/wicket-core

+ file.getAbsolutePath());

代码示例来源:origin: org.wicketstuff/maven-support

private static IResourceStream getFileSysResourceStream(String prefix, String path)
  {
    File f=new File(prefix+path);
    if ((f.exists()) && (f.isFile()))
    {
      return new FileResourceStream(f);
    }
    else
    {
      _logger.debug("Could not get File: {}",f.getAbsolutePath());
    }
    return null;
  }
}

代码示例来源:origin: brix-cms/brix-cms

RepositoryConfig config = RepositoryConfig.create(configStream, home.getAbsolutePath());
return RepositoryImpl.create(config);

相关文章