纯java实现图片转视频代码,附带依赖包首先设置视频信息DefaultMovieInfoProviderdmip=newDefaultMovieInfoProvider("dst.avi");//生成视频的名称dmip.setFPS(3);//设置每秒帧数dmip.setNumberOfFrames(jpgs.length);//总帧数//视频宽和高,最好与图片宽高保持一直dmip.setMWidth(1440);dmip.setMHeight(860);下面直接初始化Jim2Mov并调用saveMovie方法开始转换视频newJim2Mov(newImageProvider(){publicbyte[]getImage(intframe){try{//设置压缩比returnMovieUtils.convertImageToJPEG((jpgs[frame]),1.0f);}catch(IOExceptione){e.printStackTrace();}returnnull;}},dmip,null).saveMovie(MovieInfoProvider.TYPE_AVI_MJPEG);
2023/8/27 23:23:46 1.88MB java 图片 视频 jmf
1
本资源引用于http://download.csdn.net/source/1156344我做了下改动,大家分享一下。
webService服务地址:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx privatestaticStringgetSoapRequest1(Stringcity){ try{ InputStreamReaderisr=newInputStreamReader(newFileInputStream( "WebRoot/weather.xml")); BufferedReaderreader=newBufferedReader(isr); StringBuffersoap=newStringBuffer(""); Stringtmp; while((tmp=reader.readLine())!=null){ soap=soap.append(tmp); } reader.close(); isr.close(); returnsoap.toString().replace("${city}$",city); }catch(Exceptionex){ ex.printStackTrace(); returnnull; } }
2023/8/15 13:18:41 264KB java webservice 天气预报
1
kettle解析xml数据,xml多层分组嵌套,xmlstax方法,完整解析案例使用(包含xml文件以及ktr文件)。
ETL大数据迁移,数据清洗。
XMLInputStream(StAX)方法
2023/7/22 14:06:55 6KB kettle ETL xml ktr
1
随着中小型企业的高速发展,对网络处理和传输性能提出了新的要求。
由于网点接入路由器和终端接入设备年代较久,性能和扩展能力都出现了瓶颈,严重影响网点业务的发展和客户服务质量。
为此本论文设计了一个中小型企业的网络工程,从而解决了由于设备性能低下出现瓶颈的问题,而且提高了企业网络工程的扩展能力。
本论文首先讨论了中小企业网的背景、意义、应用现状以及研究与开发现状,然后对OSPF协议、DHCP协议、VLAN的划分、静态路由以及数据流控制等相关技术理论作了简单的论述,其次结合工程项目,论述了企业网络的需求分析、整体设计,其中包括对IP地质的划分,网络拓扑图等做了分析和描述。
接下来,论文着重讨论了基于OSPF协议的网络工程的设计和实现,详细地论述了各个协议的运用和实现方法。
最后,对整个网络进行了测试。
关键词:网络工程;
协议;
性能;
扩展ABSTRACTWiththerapiddevelopmentofsmallandmediumenterprises,thisnetworkprocessingandnetworktransmissionperformanceandscalabilityofterminalsmoothraisednewdemands.Asthenetworkaccessroutersandterminalaccessdevice'slonger,performanceandscalabilitybottleneckshaveappeared,itaffectthenetworkbusinessdevelopmentandcustomerservice.Tothisendthispaper,anapplicationofexistingsmallandmediumenterprisesinnetworkengineering,tosolvethepoorperformancebottleneckbecausetheequipmentproblems,andimprovetheabilityofthecorporatenetworkexpansionproject.Thispaperfirstdiscussesthebackgroundofsmallandmediumnetworks,meaning,applicationstatus,andresearchanddevelopmentstatus,ThenontheOSPFprotocol,DHCPprotocol,VLANclassification,staticroutinganddataflowcontrolandotherrelatedtechnologytheorybrieflydiscussed,Secondly,combinedwiththeproject,specificallyaddressingtheneedsofthecorporatenetworkanalysis,overalldesign,includingthedivisionofIPaddresses,networktopologymapswereanalyzedanddescribed.Next,thepaperfocusedontheOSPFprotocol-basednetworkengineeringdesignandimplementation.Discussedindetailinthepapertheuseofvariousagreementsandimplementationmethods.Finally,testtheentirenetwork.Keywords:Networkengineering;protocol;performance;expansion
2023/6/11 22:17:55 3.98MB OSPF
1
IEC60870part5[1]isoneoftheIEC60870setofstandardswhichdefinesystemsusedfortelecontrol(supervisorycontrolanddataacquisition)inelectricalengineeringandpowersystemautomationapplications.Part5providesaco妹妹unicationprofileforsendingbasictelecontrolmessagesbetweentwosystems,whichusespermanentdirectlyconnecteddatacircuitsbetweenthesystems.TheIECTechnicalCo妹妹ittee57(WorkingGroup03)havedevelopedaprotocolstandardfortelecontrol,teleprotection,andassociatedteleco妹妹unicationsforelectricpowersystems.TheresultofthisworkisIEC60870-5.FivedocumentsspecifythebaseIEC60870-5:IEC60870-5-1TransmissionFrameFormatsIEC60870-5-2DataLinkTransmissionServicesIEC60870-5-3GeneralStructureofApplicationDataIEC60870-5-4DefinitionandCodingofInformationElementsIEC60870-5-5BasicApplicationFunctionsIEC60870-5-6GuidelinesforconformancetestingfortheIEC60870-5companionstandardsIECTS60870-5-7SecurityextensionstoIEC60870-5-101andIEC60870-5-104protocols(applyingIEC62351)TheIECTechnicalCo妹妹ittee57hasalsogeneratedcompanionstandards:IEC60870-5-101TransmissionProtocols-companionstandardsespeciallyforbasictelecontroltasksIEC60870-5-102TransmissionProtocols-Companionstandardforthetransmissionofintegratedtotalsinelectricpowersystems(thisstandardisnotwidelyused)IEC60870-5-103TransmissionProtocols-CompanionstandardfortheinformativeinterfaceofprotectionequipmentIEC60870-5-104TransmissionProtocols-NetworkaccessforIEC60870-5-101usingstandardtransportprofilesIECTS60870-5-601Transmissionprotocols-ConformancetestcasesfortheIEC60870-5-101companionstandardIECTS60870-5-604ConformancetestcasesfortheIEC60870-5-104companionstandardIEC60870-5-101/102/103/104arecompanionstandardsgeneratedforbasictelecontroltasks,transmissionofintegratedtotals,dataexchangefromprotecti
2023/5/11 0:12:22 11.42MB IEC101 IEC103 IEC104 IEC60870-5
1
《快学Scala》英文第二版:ScalafortheImpatientSecondEditionCayS.Horstmann目录:1THEBASICSA111.1TheScalaInterpreter11.2DeclaringValuesandVariables41.3Co妹妹onlyUsedTypes51.4ArithmeticandOperatorOverloading61.5MoreaboutCallingMethods81.6TheapplyMethod91.7Scaladoc10Exercises152CONTROLSTRUCTURESANDFUNCTIONSA1172.1ConditionalExpressions182.2StatementTermination192.3BlockExpressionsandAssignments20viiContents2.4InputandOutput212.5Loops222.6AdvancedforLoops242.7Functions252.8DefaultandNamedArgumentsL1262.9VariableArgumentsL1262.10Procedures282.11LazyValuesL1282.12Exceptions29Exercises313WORKINGWITHARRAYSA1353.1Fixed-LengthArrays353.2Variable-LengthArrays:ArrayBuffers363.3TraversingArraysandArrayBuffers373.4TransformingArrays383.5Co妹妹onAlgorithms403.6DecipheringScaladoc413.7MultidimensionalArrays423.8InteroperatingwithJava43Exercises444MAPSANDTUPLESA1474.1ConstructingaMap484.2AccessingMapValues484.3UpdatingMapValues494.4IteratingoverMaps504.5SortedMaps504.6InteroperatingwithJava504.7Tuples514.8Zipping52Exercises52viiiContents5CLASSESA1555.1SimpleClassesandParameterlessMethods555.2PropertieswithGettersandSetters565.3PropertieswithOnlyGetters595.4Object-PrivateFields605.5BeanPropertiesL1615.6AuxiliaryConstructors625.7ThePrimaryConstructor635.8NestedClassesL166Exercises686OBJECTSA1716.1Singletons716.2CompanionObjects726.3ObjectsExtendingaClassorTrait736.4TheapplyMethod736.5ApplicationObjects746.6Enumerations75Exercises777PACKAGESANDIMPORTSA1797.1Packages807.2ScopeRules817.3ChainedPackageClauses837.4Top-of-FileNotation837.5PackageObjects837.6PackageVisibility847.7Imports857.8ImportsCanBeAnywhere857.9RenamingandHidingMembers867.10ImplicitImports86Exercises87ixContents8INHERITANCEA1918.1ExtendingaClass918.2OverridingMethods928.3TypeChecksandCasts938.4ProtectedFieldsandMethods948.5SuperclassConstruction948.6OverridingFields958.7AnonymousSubclasses978.8AbstractClasses978.9AbstractFields978.10ConstructionOrderandEarlyDefinitionsL3988.11TheScalaInheritanceHierarchy1008.12ObjectEqualityL11028.13ValueClassesL2103Exercises1059FILESANDREGULAREXPRESSIONSA11099.1ReadingLines1099.2ReadingCharacters1109.3ReadingTokensandNumbers1119.4ReadingfromURLsandOtherSources1119.5ReadingBinaryFiles1129.6WritingTextFiles1129.7VisitingDirectories1129.8Serialization1139.9ProcessControlA21149.10RegularExpressions1169.11RegularExpressionGroups117Exercises11810TRAITSL112110.1WhyNoMultipleInheritance?12110.2TraitsasInterfaces12310.3TraitswithConcreteImplementations124xContents10.4ObjectswithTraits12510.5LayeredTraits12510.6OverridingAbstractMethodsinTraits12710.7TraitsforRichInterfaces12710.8ConcreteFieldsinTraits12810.9AbstractFieldsinTraits13010.10TraitConstructionOrder13010.11InitializingTraitFields13210.12TraitsExtendingClasses13310.13SelfTypesL213410.14WhatHappensundertheHood135Exercises13711OPERATORSL114111.1Identifiers14211.2InfixOperators14311.3UnaryOperators14311.4AssignmentOperators14411.5Precedence14411.6Associativity14511.7TheapplyandupdateMethods14611.8ExtractorsL214711.9ExtractorswithOneorNoArgumentsL214911.10TheunapplySeqMethodL214911.11DynamicInvocationL2150Exercises15312HIGHER-ORDERFUNCTIONSL115712.1FunctionsasValues15712.2AnonymousFunctions15912.3FunctionswithFunctionParameters16012.4ParameterInference16012.5UsefulHigher-OrderFunctions16112.6Closures162xiContents12.7SAMConversions16312.8Currying16412.9ControlAbstractions16612.10ThereturnExpression167Exercises16813COLLECTIONSA217113.1TheMainCollectionsTraits17213.2MutableandI妹妹utableCollections17313.3Sequences17413.4Lists17513.5Sets17713.6OperatorsforAddingorRemovingElements17813.7Co妹妹onMethods18013.8MappingaFunction18213.9Reducing,Folding,andScanningA318413.10Zipping18713.11Iterators18813.12StreamsA318913.13LazyViewsA319013.14InteroperabilitywithJavaCollections19113.15ParallelCollections193Exercises19414PATTERNMATCHINGANDCASECLASSESA219714.1ABetterSwitch19814.2Guards19914.3VariablesinPatterns19914.4TypePatterns20014.5MatchingArrays,Lists,andTuples20114.6Extractors20214.7PatternsinVariableDeclarations20314.8PatternsinforExpressions20414.9CaseClasses205xiiContents14.10ThecopyMethodandNamedParameters20514.11InfixNotationincaseClauses20614.12MatchingNestedStructures20714.13AreCaseClassesEvil?20814.14SealedClasses20914.15SimulatingEnumerations20914.16TheOptionType21014.17PartialFunctionsL2211Exercises21215ANNOTATIONSA221515.1WhatAreAnnotations?21615.2WhatCanBeAnnotated?21615.3AnnotationArguments21715.4AnnotationImplementations21815.5AnnotationsforJavaFeatures21915.5.1JavaModifiers21915.5.2MarkerInterfaces22015.5.3CheckedExceptions22015.5.4VariableArguments22115.5.5JavaBeans22115.6AnnotationsforOptimizations22215.6.1TailRecursion22215.6.2JumpTableGenerationandInlining22315.6.3ElidingMethods22415.6.4SpecializationforPrimitiveTypes22515.7AnnotationsforErrorsandWarnings226Exercises22716XMLPROCESSINGA222916.1XMLLiterals23016.2XMLNodes23016.3ElementAttributes23216.4EmbeddedExpressions233xiiiContents16.5ExpressionsinAttributes23416.6Unco妹妹onNodeTypes23516.7XPath-likeExpressions23516.8PatternMatching23716.9ModifyingElementsandAttributes23816.10TransformingXML23916.11LoadingandSaving23916.12Namespaces242Exercises24317FUTURESA224717.1RunningTasksintheFuture24817.2WaitingforResults25017.3TheTryClass25117.4Callbacks25117.5ComposingFutureTasks25217.6OtherFutureTransformations25517.7MethodsintheFutureObject25617.8Promises25817.9ExecutionContexts260Exercises26018TYPEPARAMETERSL226518.1GenericClasses26618.2GenericFunctions26618.3BoundsforTypeVariables26618.4ViewBounds26818.5ContextBounds26818.6TheClassTagContextBound26918.7MultipleBounds26918.8TypeConstraintsL326918.9Variance27118.10Co-andContravariantPositions272xivContents18.11ObjectsCan’tBeGeneric27418.12Wildcards275Exercises27519ADVANCEDTYPESL227919.1SingletonTypes28019.2TypeProjections28119.3Paths28219.4TypeAliases28319.5StructuralTypes28319.6CompoundTypes28419.7InfixTypes28519.8ExistentialTypes28619.9TheScalaTypeSystem28719.10SelfTypes28819.11DependencyInjection28919.12AbstractTypesL329119.13FamilyPolymorphismL329319.14Higher-KindedTypesL3296Exercises29920PARSINGA330320.1Gra妹妹ars30420.2CombiningParserOperations30520.3TransformingParserResults30720.4DiscardingTokens30820.5GeneratingParseTrees30920.6AvoidingLeftRecursion31020.7MoreCombinators31120.8AvoidingBacktracking31420.9PackratParsers31420.10WhatExactlyAreParsers?31520.11RegexParsers316Contentsxv20.12Token-BasedParsers31720.13ErrorHandling319Exercises32021IMPLICITSL332321.1ImplicitConversions32421.2UsingImplicitsforEnrichingExistingClasses32421.3ImportingImplicits32521.4RulesforImplicitConversions32621.5ImplicitParameters32821.6ImplicitConversionswithImplicitParameters32921.7ContextBounds32921.8TypeClasses33121.9Evidence33321.10The@implicitNotFoundAnnotation33421.11CanBuildFromDemystified334Exercises336Index338
2023/5/10 20:11:09 14.89MB scala 快学scala 第二版
1
红黑树的详尽描摹,从数据结构到建树,最小值,最大值,后继,遍历,插入以及删除了。
该代码是clionIDE中实现的,代码部份在main.c中。
2023/4/30 0:25:41 199KB 红黑 Red Black Tree
1
ThisisabookaboutsoftwareengineeringprinciplesappliedtoPython.Therearemanybooksaboutsoftwareengineering,andmanyresourcesavailablewithinformationaboutPython.Theintersectionofthosetwosets,though,issomethingthatrequiresaction,andthat'sthegapthisbooktriestobridge.
2023/4/23 16:04:14 2.82MB Python
1
这个是我在网上找到的一份对于更正体系时钟的源码,成果相似于驱逆耳生公司出书的人生日历,代码极其有参考价钱,起码照着他的源码hook了体系时钟窗口的新闻,以及更正绘制,截取按键新闻,首要参考代码在source/dll/目录下
2023/4/20 17:11:54 354KB hook TrayClock 系统时钟 重绘时钟
1
// FiledbFile=newFile("/data/data/com.example.accountsoft.activity/databases/account.db");// try{// dbFile.createNewFile();// }catch(IOExceptione){// //TODOAuto-generatedcatchblock// e.printStackTrace();// }// dbFile.delete();
2023/4/10 18:30:02 1.51MB AccountMS
1
共 38 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡