E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
getPath()
CImageList的LoadImage
m_imageList.Create(16,16,ILC_COLOR8,0,1);CStringstrImagePath=
GetPath
();CBitmap*pBmp=NULL;HBITMAPhBmp=
bao_qibiao
·
2009-10-30 16:00
image
null
imagelist
ireport --- the document has no pages 解决方案
调试了一下下面的代码: JasperReport jasperReport = (JasperReport) JRLoader.loadObject(reportFile.
getPath
());
jc_dreaming
·
2009-10-30 11:00
document
ireport --- the document has no pages 解决方案
调试了一下下面的代码: JasperReport jasperReport = (JasperReport) JRLoader.loadObject(reportFile.
getPath
());
jc_dreaming
·
2009-10-30 11:00
document
解决:invalid stack frame
程序代码: try { JasperReport jasperReport = (JasperReport) JRLoader .loadObject(reportFile.
getPath
()
jc_dreaming
·
2009-10-29 20:00
apache
tomcat
C++
c
Web
解决:invalid stack frame
程序代码: try { JasperReport jasperReport = (JasperReport) JRLoader .loadObject(reportFile.
getPath
()
jc_dreaming
·
2009-10-29 20:00
apache
tomcat
C++
c
Web
寻找项目的配置文件
阅读更多try{Stringurl=this.getClass().getResource("").
getPath
().replaceAll("%20","");Stringpath=url.substring
shift8
·
2009-10-21 11:00
Web
寻找项目的配置文件
try { String url = this.getClass().getResource("").
getPath
().replaceAll(
shift8
·
2009-10-21 11:00
Web
File的
getPath
getAbsolutePath和getCanonicalPath的不同
引用 http://www.blogjava.net/dreamstone/archive/2007/08/08/134968.html file的这几个取得path的方法各有不同,下边说说详细的区别 概念上的区别:(内容来自jdk,个人感觉这个描述信息,只能让明白的人明白,不明白的人看起来还是有点难度(特别试中文版,英文版稍好些)所以在概念之后我会举例说明。如果感觉看概念很累就跳过
harbey
·
2009-10-14 21:00
linux
windows
虚拟机
unix
Microsoft
将对象保存到文件
从文件读取对象 /** * get file path from object file * @return */ private Object
getPath
() { FileInputStream
lycgxy
·
2009-09-01 10:00
ios
File类的使用(java)
这时我们可以通过文件类来获取文件的信息如下:file.getName(); 返回文件名:mydata.txtfile.getParent(); 返回文件所在目录名:datafile.
getPath
MS极客
·
2009-08-21 13:37
java
职场
File类
休闲
自定义ActionForward
ret = new ActionForward(mapping.findForward("list").
getPath
() + "?
slowant
·
2009-08-07 19:00
struts
打开路径选择对话框
char *
GetPath
(HWND hWnd,char *pBuffer) { BROWSEINFO bf; LPITEMID
newjerryj
·
2009-08-06 11:00
struct
buffer
dialog
callback
include
winapi
简述FileInputStream和FileReader的区别
流类关注的是文件内容,而File类关注的是文件在磁盘上的存储File类的主要方法有(),lastMod:getName(),getCanonicalFileified(),isDerector(),isFile(),
getPath
xx_liuhui
·
2009-07-02 16:00
exception
String
Stream
File
null
byte
获取Treeitem的path属性
由于zk的tree没有获取节点path的api,于是实现下面这个函数来获取Treeitem节点的path int[]
getPath
(Treeitem item) { List<
joeblow
·
2009-06-22 10:00
zk
java得到当前类的目录
得到类classes的目录: String classDir = this.getClass().getResource("/").
getPath
(
tony_0529
·
2009-06-20 17:00
java
工作
file的
getPath
getAbsolutePath和getCanonicalPath的不同
getPathpublic String
getPath
()将此抽象路径名转换为一个路径名字符串。所得到的字符串使用默认名称分隔符来分隔名称序列中的名称。 返回:此抽象路径名的
nything
·
2009-06-19 16:00
虚拟机
linux
windows
unix
Microsoft
file的
getPath
getAbsolutePath和getCanonicalPath的不同
getPathpublic String
getPath
()将此抽象路径名转换为一个路径名字符串。所得到的字符串使用默认名称分隔符来分隔名称序列中的名称。 返回:此抽象路径名的
nything
·
2009-06-19 16:00
windows
linux
虚拟机
unix
Microsoft
asp.net获取当前的URL和IP地址
private string
GetPath
() { string strPath = "http://" + Request.ServerVariables["HTTP_HOST
wsql
·
2009-06-04 13:00
asp.net
取文件路径
CommonTool.class.getClassLoader().getResource("NE.txt").
getPath
() Properties temp = new
百威
·
2009-04-28 17:00
java
jsp
xml
jaspereport---Applet控件数字签名问题
JasperPrint jasperPrint = JasperFillManager.fillReport( reportFile.
getPath
pichcar
·
2009-04-12 22:00
C++
c
jsp
C#
获取 eclipse 工程选中的路径
取到当前工作空间的路径: Platform.getInstanceLocation().getURL().
getPath
() 取到在Package Explorer中选中节点的File
superxielei
·
2009-04-07 11:00
eclipse
工作
获取 eclipse 工程选中的路径
取到当前工作空间的路径: Platform.getInstanceLocation().getURL().
getPath
() 取到在Package Explorer中选中节点的File
superxielei
·
2009-04-07 11:00
eclipse
工作
获取 eclipse 工程选中的路径
取到当前工作空间的路径: Platform.getInstanceLocation().getURL().
getPath
() 取到在Package Explorer中选中节点的File
superxielei
·
2009-04-07 11:00
eclipse
工作
getPath
getAbsolutePath和getCanonicalPath的不同
http://dreamstone.javaeye.com/blog/118020file的这几个取得path的方法各有不同,下边说说详细的区别概念上的区别:(内容来自jdk,个人感觉这个描述信息,只能让明白的人明白,不明白的人看起来还是有点难度(特别试中文版,英文版稍好些)所以在概念之后我会举例说明。如果感觉看概念很累就跳过直接看例子吧。看完例子回来看概念会好些。getPathpublic St
jxst051665
·
2009-03-27 16:00
取路径总结
取出指定所在类的路径classA{StringgetPath(){ returnthis.getClass().getClassLoader().getSystemResource("A").
getPath
starnight_cbj
·
2009-03-25 14:00
插件开发取路径
1.得到runtime workspace目录的绝对路径 String file = Platform.getInstanceLocation().getURL().
getPath
(); 2.
fm2005
·
2009-03-19 09:00
插件开发
读取配置参数的properties文件,路径获取完美解决
,路径问题让人挠头,使用下面的方法,可方便获取classpath绝对路径:Thread.currentThread().getContextClassLoader().getResource("").
getPath
oanqoanq
·
2009-03-13 11:00
eclipse
Web
properties
String
Path
email
读取配置参数的properties文件,路径获取完美解决
使用下面的方法,可方便获取classpath绝对路径: Thread.currentThread().getContextClassLoader().getResource("").
getPath
iwebcode
·
2009-03-13 11:00
properties
file的
getPath
getAbsolutePath和getCanonicalPath的不同
file的getPathgetAbsolutePath和getCanonicalPath的不同file的这几个取得path的方法各有不同,下边说说详细的区别概念上的区别:(内容来自jdk,个人感觉这个描述信息,只能让明白的人明白,不明白的人看起来还是有点难度(特别试中文版,英文版稍好些)所以在概念之后我会举例说明。如果感觉看概念很累就跳过直接看例子吧。看完例子回来看概念会好些。getPathpub
Tinysun
·
2009-03-05 10:00
关于FileSize的小问题
Windows SDK/API http://www.delphi2007.net/DelphiBase/html/delphi_20061208135104222.html AssignFile(f,
getPath
·
2009-02-11 16:00
File
Properties读取任意目录的配置文件
try{ String url = this.getClass().getResource("").
getPath
().replaceAll("%20"
tomp110
·
2009-01-15 14:00
java
html
Web
.net
如何在打包后的 jar 中读取本包中的文件
因为程序启动时要读取初始化文化,我想把初始化文件打包到JAR中一起发布,用URL url = class.getResource(path)读取文件,然后FileReader fr = new FileReader(url.
getPath
zlping
·
2009-01-08 16:00
swing
Google
sun
怎么得到java类当前路径
").
getPath
(); String b=this.getClass().getResource("").
getPath
(); String c=
7tianle
·
2008-12-30 15:00
java
C++
c
Web
workflow
读取配置参数的properties文件,路径获取问题
使用下面的方法,可方便获取classpath绝对路径: Thread.currentThread().getContextClassLoader().getResource("").
getPath
fenghen
·
2008-12-23 09:00
thread
classloader笔记
public static final String PROPERTIES_FILE_NAME = "/*.xml"; path = this.getClass().getResource("").
getPath
·
2008-12-10 20:00
读取配置参数的properties文件,路径获取完美解决
使用下面的方法,可方便获取classpath绝对路径: Thread.currentThread().getContextClassLoader().getResource("").
getPath
KG21
·
2008-12-01 14:00
eclipse
thread
Web
F#
struts 带参数的跳转
nbsp; StringBuffer bf = new StringBuffer(forwardError.
getPath
beyond429
·
2008-11-25 12:00
struts
插件开发取路径问题
1.得到runtime workspace目录的绝对路径 String file = Platform.getInstanceLocation().getURL().
getPath
();
sunway
·
2008-11-25 09:00
J#
Java获取读取资源文件的路径
使用下面的方法,可方便获取classpath绝对路径:Thread.currentThread().getContextClassLoader().getResource("").
getPath
Robbiezr
·
2008-11-21 15:00
java
eclipse
thread
Web
F#
处理文件夹有空格问题及按系统方式打开文件
[size=medium]取得文件路径:StringfilePath= xxx.class.getResource("/").
getPath
();处理:filePath=URLDecoder.decode
helin
·
2008-10-31 09:00
C++
c
算法
C#
dos
1.5 获得文件路径有变化
getClass().getResource ("myfile").getFile() getClass().getResource ("myfile").
getPath
cai555
·
2008-10-15 14:00
F#
1.5 获得文件路径有变化
getClass().getResource ("myfile").getFile() getClass().getResource ("myfile").
getPath
cai555
·
2008-10-15 14:00
F#
file的
getPath
getAbsolutePath和getCanonicalPath的不同
getPathpublic String
getPath
()将此抽象路径名转换为一个路径名字符串。所得到的字符串使
tgyd2006
·
2008-09-16 09:00
虚拟机
linux
windows
unix
Microsoft
file的
getPath
getAbsolutePath和getCanonicalPath的不同
getPathpublic String
getPath
()将此抽象路径名转换为一个路径名字符串。所得到的字符串使
tgyd2006
·
2008-09-16 09:00
windows
虚拟机
linux
unix
Microsoft
从JAR包内读取文件
JVM是根据你的文件系统来寻找class和资源的,由于你的程序一经打包, getgetClass().getResource("/").
getPath
()
sunxiang0918
·
2008-09-10 22:00
jvm
工作
java的解压压缩文件的程序
static void unzipFile(File zip, File dir) throws IOException { ZipFile zipFile = new ZipFile(zip.
getPath
sz_bdqn
·
2008-08-27 01:00
java
c
RCP里关于Workspace和文件路径的代码
FileLocator.toFileURL( Platform.getBundle(IAppConstants.APPLICATION_ID) .getEntry("")).
getPath
zttcc
·
2008-07-14 12:00
eclipse
.net
osgi
asp获取当前文件在服务器上的全路径
'asp获取当前文件在服务器上的全路径
getpath
_frist=split(right(request.ServerVariables("URL"),len(request.ServerVariables
fengxu
·
2008-06-30 10:00
asp
java中原始数据文件的输入
FilefileOut=newFile("out.data"); if(fileIn.exists()){ System.out.println("thefile'spath:"+fileIn.
getPath
hjhnju
·
2008-05-26 16:35
java
职场
休闲
文件输入
使用dom4j读取xml文档,并修改文档
Stringpath=FileLocator.toFileURL(Platform.getBundle(AppConn.APPLICATION_ID).getEntry("")).
getPath
一杯清茶
·
2008-04-23 15:00
上一页
20
21
22
23
24
25
26
27
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他