system as claimed in claim 5 is characterized in that, said file pre-viewing device is based on the Flash player, can directly from the Hadoop distributed storage, read the SWF file that needs preview to show. As you mentioned, storing the referential link as text might be the solution. By the file previewing method and the system provided by the invention, the timeliness for simultaneous conversion processing of large and multiple files is obviously improved, and the conversion processing capability and the index searching capability of the mass files as well as the smoothness of played and previewed files are enhanced. The invention also provides a file previewing system based on Hadoop distribution type. The file previewing method comprises the following steps of: step 1), storing a source file in a Hadoop distribution type file system step 2), converting the source file stored in the Hadoop distribution type file system into an SWF (Small Web Format) file and a text file step 3), carrying out index extraction on the text file and establishing index and step 4), reading the SWF file needing to be previewed and displayed from the Hadoop distribution type storage according to the index so as to carry out playing. The invention provides a file previewing method based on Hadoop distribution type. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.) Filing date Publication date Application filed by SHENZHEN VISPRACTICE TECHNOLOGY Corp filed Critical SHENZHEN VISPRACTICE TECHNOLOGY Corp Priority to CN201210233929XA priority Critical patent/CN102750391A/en Publication of CN102750391A publication Critical patent/CN102750391A/en Status Pending legal-status Critical Current Links Original Assignee SHENZHEN VISPRACTICE TECHNOLOGY Corp Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.) Inventor 李伟 Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.) Pending Application number CN201210233929XA Other languages Chinese ( zh) Google Patents CN102750391A - File previewing method and system based on Hadoop distribution type Private void substituteUnavailableFontsWithDefault(102750391A - File previewing method and system based on Hadoop distribution type I have to install font on machine? There is no possible to set this in application? I can’t to install it on all machines. Unfortunately I can’t share to you any pdf documents. TextFragment.getTextState().setFont(defaultFont) Īt .5if(Unknown Source)Īt .lif(Unknown Source)Īt .duplicate(Unknown Source)Īt .(Unknown Source)Īt .setFont(Unknown Source)Īt .setFont(Unknown Source)Īt (PdfToHtmlProcessor.java:175)Īt (PdfToHtmlProcessor.java:112)Īt $1(PdfToHtmlProcessor.java:81)Īt $3$1.accept(ReferencePipeline.java:193)Īt $2$1.accept(ReferencePipeline.java:175)Īt $ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)Īt .copyInto(AbstractPipeline.java:481)Īt .wrapAndCopyInto(AbstractPipeline.java:471)Īt $ReduceOp.evaluateSequential(ReduceOps.java:708)Īt .evaluate(AbstractPipeline.java:234)Īt .collect(ReferencePipeline.java:499)Īt (PdfToHtmlProcessor.java:81)Īt (DocumentConverter.java:43)Īt (CondorSplitterMapper.java:39)Īt (CondorSplitterMapper.java:1)Īt .n(Mapper.java:145)Īt .nNewMapper(MapTask.java:793)Īt .n(MapTask.java:341)Īt .YarnChild$2.run(YarnChild.java:164)Īt (Native Method)Īt .doAs(Subject.java:422)Īt .UserGroupInformation.doAs(UserGroupInformation.java:1917)Īt .YarnChild.main(YarnChild.java:158) When I try to change Font for textFragment I have got NullPointerException.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |