Adobe AIR 程序如何索引用户计算机上的所有图像?
Adobe AIR 程序对用户计算机上的所有图像进行索引的最快方法是什么?
使用开源 ActionScript-3、MXML 库和类。
最快 - 相同的电脑配置,不同的时间(秒)
索引 - 获取绝对链接列表(例如 c://bla-bla /file )并将它们保存到文件(index.txt)
所有图像(如 JPEG、PNG)
What is the fastest way for a Adobe AIR program program to index all images on a users' computer?
Using Open Source ActionScript-3, MXML Libs and classes.
Fastest - Same pc configuration, different time (seconds)
To index - get a list of absolute links (like c://bla-bla/file ) and save them into file (index.txt)
All images (like JPEGs, PNGs)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不确定它是否是最快的,但我想到的是使用 AIR 的 Native处理 API 通过命令提示符进行搜索。
一个简单的例子是
您可以使用 standardOutput.readUTFBytes。这可能比将搜索结果写入文本文件然后加载更快。
之后您可以解析该文件。您可以随时查看查找选项以获得更好的结果。
无论如何,只是一个想法……说到这里,
引用@quoo:
Not sure if it's the fastest, but what comes to mind is using AIR's Native Process API to make the search through command prompt.
A simple example would be
You can then use standardOutput.readUTFBytes. This might be faster then writing the search result to a text file then loading.
After that you can parse the file. You can always have a look at the find options for better results.
Anyway, just a thought...speaking of which,
to quote @quoo: