列表 第页
我想使用的分辨率文件解析器来选择一个正确的纹理图集我的应用程序,所以我createa RFR与一对夫妇决议:分辨率_568x1136 =新的决议(568,1136,.568x1136);分辨率_1200x1920 =新的决议(568,1136,.1200x1920);ResolutionFileResolver解析...阅读全文
我有这种方法的WebAPI,带有一个自定义对象的MyType 作为输入,并生成基于PDF文件。 PDF文件返回为一个的Htt presponseMessage 。请注意,我指定的文件名 response.Content.Headers.ContentDisposition.FileName :I've this We...阅读全文
我在其中包含多个文件SD卡的文件夹。现在我需要获得文件的名称。可以任何人有任何想法如何获取文件名保存在SD卡?i have a folder in sd card which contains several files.now i need to get the names of that files.ca...阅读全文
我想要用相机意图画面并将其保存到默认的DCIM文件夹。然后,我想要得到的路径/文件名,其中的图片存储。I want to make a picture with the camera intent and save it to the default DCIM folder. Then I want to get t...阅读全文
我看用pathPattern来定义一个意向过滤特定的文件扩展名/类型的例子不胜枚举;例如, pathPattern =* \\。XYZ。I see numerous examples of using pathPattern to define an intent-filter for a specific file...阅读全文
我想设定一个spesific的versionNumber在摇篮自动生成APK文件名。 I'm trying to set a spesific versionnumber in the gradle autogenerated APK filename. 现在摇篮生成的myapp-release.apk ,但我希望...阅读全文
假设文件名总是包含嵌入在其中的日期,但它不会是统一的,有没有办法来解析这样,始终转换文件名,日期时间?Assuming the filename will always contain the date embedded within it, but that it won't be uniform, is ther...阅读全文
我现在用的是Valum AJAX上传脚本: https://github.com/valums/file-上传我如何获得存储在MySQL数据库文件名和路径有问题。I am using the Valum AJAX upload script from: https://github.com/valums/file-...阅读全文
允许使用哪些特殊字符的文件名在Android?! 〜@#$%^&放大器; *()_ + / \,另外,我可以保存文件的Uni code的名字?解决方案 在Android的(至少是默认)文件名EN codeD为UTF-8。 看起来保留的文件名字符依赖于文件系统安装( http://en.wikipedia.org/wi...阅读全文
我有一个 onActivityResult 从mediastore图像选择,我可以得到一个URI使用下面的图像返回:乌里selectedImage = data.getData();此转换为字符串给出了这样的:内容://媒体/外部/图片/媒体/ 47或一个路径给出了:/外部/图片/媒体/ 47不过,我似乎无法找到一个方...阅读全文
我想打一个比较基本的工具,在S3浏览水桶作为文件层次结构,而不是文件名的简单与他们斜线列表。I want to make a relatively basic tool to browse a bucket in S3 as a file hierarchy rather than simply a list of...阅读全文
我只是想知道这是否是一个错误,我的错误或者有没有人成功地得到这个工作I'm just wondering if this is a bug, an error on my part or has anyone managed to get this working>irb>require 'aws/s3'>AW...阅读全文
我们一直在使用AWS SDK与上传/抓取文件pretty的好成绩,但我们遇到了一个障碍。We've been using the AWS SDK with pretty good results for uploading/grabbing files, but we ran into a snag.有存储在S3中...阅读全文
请注意,我必须使用sc.textFile,但我会接受任何其他的答案。我想要做的就是简单地添加正在处理到RDD文件名....一些事情一样:VAR RDD = sc.textFile(S3N://bucket/*.csv).MAP(行=>文件名+,+线)许多AP preciated!EDIT2:解EDIT1是使用Hadoo...阅读全文
我是新来logstash。我有存储在AWS S3的一些日志,我能够导入到logstash。我的问题是:是否有可能使用神交过滤器来添加基于文件名的标签?我尝试使用:I am new to logstash. I have some logs stored in AWS S3 and I am able to impor...阅读全文
当你在社交网站Twitter之类的资料图片,它们存储的图像文件,如:When you look at a profile picture on a social networking site like Twitter, they store image files like:http://a1.twimg.com...阅读全文
我学习弹性均线preduce并与亚马逊教程科提供(如下图所示code)的分词例如起步。此例产生的字数在提供的所有输入文档的所有单词。不过,我想通过文件名来获得输出字数也就是,只有一个特定文档中的单词的数量。由于蟒蛇code字计数需要从标准输入的输入,我怎么知道哪些输入线来自哪个文件?感谢。 #!的/ usr / bin...阅读全文
我使用AWS的IOS SDK和尝试列出文件夹中的所有文件。 I'm using AWS IOS SDK and trying to list all the files in a FOLDER. 这code工作要列出一个桶中的所有文件等:This code works to list all files etc...阅读全文
我在寻找已知良好的算法,可对文件夹的层级发现了类似的文件名(模糊)聚类。 要持续下去的规则和精神的,让我详细解释的情况下,让你的回答能够简明而不是一般的。上下文我的目标是开发一个应用程序:在处理一组文件(内容和名称)比较文件名设置为确定集群 比较内容来查找重复的(这是关闭范围)在显示文件删除和文件重组的基础上确定...阅读全文
我是用我的asp.net页面ajaxfileupload控制。图片上传后,我打电话uploadcomplete方法,使用下面的JavaScript保存图像在磁盘上,并显示在图像控制:I am using ajaxfileupload control on my asp.net page. After image is...阅读全文
我们的服务器生成文件,如 {c521c143-2a23-42ef-89d1-557915e2323a} -sign.xml 在其日志文件夹中。第一部分是GUID;第二部分是名称的模板。我要计数具有相同名称的模板文件的数量。举例来说,我们有{c521c143-2a23-42ef-89d1-557915e2323a} -s...阅读全文
我有一个剑道网格的MVC剃刀形式。网格有一个异步图片上传。I have an MVC razor form with a Kendo grid. The grid has an asynch image uploader.@(Html.Kendo().Grid(...阅读全文
我已经成功地在移植了plupload为codeigniter ,但是当用户上传一个文件,文件名出来是这样的:_1,_2,_3等I have been successful in porting over plupload into Codeigniter, but when a user uploads a file...阅读全文
我的问题很简单。我写在PHP中上传类,并已决定将包括对AJAX上传的支持。I am writing an uploader class in php and have decided to include support for ajax uploads.使用Firefox,我发现了一个头的X文件名被发送。我使用...阅读全文
我想Flash Builder中的第一次,我被困在一个简单的任务。我怎样才能改变输出文件名?I am trying Flash Builder for the first time and I'm stuck in a simple task.How can I change the output filenam...阅读全文
我怎么能循环直通本地文件夹中的所有(或部分)文件名和引用使用ActionScript 3.0添加到该文件中的数组?how can i cycle thru a local folder to add all (or some) files names and references to that file in an...阅读全文
有没有一种方法,我可以以编程方式确定我的类是在运行.swf文件的文件名?Is there a way I can programmatically determine the filename of the .swf my class is running in?谢谢!推荐答案舞台有的LoaderInfo 的属性...阅读全文
AS3是否有一个内置的类/函数从一个完整的路径提取文件名。例如我想提取 filename.doc 的完整路径C:\ Documents和Settings \所有用户\桌面\ filename.docDoes AS3 have a built in class / function to extract "filen...阅读全文
我可以播放MIDI文件,其中名与asd.mid值的String类型。不过,我想送空气的的NativeProcess命令去渣,它显示无法读取错误。怎么会呢?Java的:私人无效playMidi(){如果(isPlaying.equals(0)){尝试 {歌= MidiSystem.getSequence(新文件(文件名)...阅读全文
当我试图自动化 API 测试过程时,必须将 XML 文件传递给 Read 方法,例如,As I'm trying to automate the API testing process, have to pass the XML file to Read method for example,Given req...阅读全文
我要检索Gmail应用程序内容的文件名。I have to retrieve the filename of the content from gmail app.我得到的内容URI的一些东西类似于i get content uri some thing similar to内容://gmail-ls/mess...阅读全文
我试图写的Android的应用程序,将填充微调与文件的SD卡带有特定扩展名上找到的文件名。我可以得到它迄今填充用正确的文件的微调,但路径显示为好。谁能告诉我怎么去一个特定的文件,只需在文件名中的Android SD卡上的目录?感谢您解决方案 文件sdCardRoot = Environment.getExt...阅读全文
I am sending a gzip file from Postman to a Flask endpoint. I can take that binary file with request.data and read it, save it, upload it, etc.My problem is that...阅读全文
我正在使用 capybara 运行一些黄瓜功能,我需要检查是否正在显示某个图像.I am running some cucumber features using capybara and I need to check if a certain image is being shown.我尝试了这个 xpath...阅读全文
在createa Android上preferenceScreen,您的应用程序创建的设置的默认共享preferences文件。我想读这个名字,或者没有specifing的名字来取得的参考。When you createa a PreferenceScreen on Android, your application...阅读全文
我需要改变的apk文件的名称为我的Android应用程序。我使用Eclipse构建。如何实现这一目标?I need to change the name of apk file for my android application.I am using Eclipse for the build.How to...阅读全文
我有一个基于Android的摇篮项目,我想改变mapping.txt文件名后,这对我的构建产生。怎样才能做到呢?I have android project based on gradle and I want to change mapping.txt file name after it's generated...阅读全文
在C#程序中,我通过MySQL的净连接器的MySqlBulkLoader功能导入大量的文本文件(300MB)到MySQL数据库中。进口需要相当长的时间,结果几乎100%的磁盘使用它运行在Windows 2003 Server上。在试图加快程序NOW的进口拆分大的文件分成较小的块。是否可以读取小的文件块(8MB)到内...阅读全文