Package net.pms.formats.v2

Examples of net.pms.formats.v2.SubtitleUtilsTest


              subData = tmp[1];
              if (subData.startsWith("file:")) {
                String sFile = subData.substring(5);
                s.setExternalFile(new File(sFile));
                s.setId(100);
                SubtitleType t = SubtitleType.valueOfFileExtension(FileUtil.getExtension(sFile));
                s.setType(t);
              } else if (subData.startsWith("id:")) {
                s.setId(Integer.parseInt(subData.substring(3)));
              }
            }
View Full Code Here

TOP

Related Classes of net.pms.formats.v2.SubtitleUtilsTest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.