Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getDuration (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapVideo.java

        /**
         * Gets the duration of the video in seconds.
         * @return the duration
         */
        public String getDuration() {
            return duration;
        }
    
        /**
         * Sets the duration of the video in seconds.
         * @param duration the duration to set
         */
        public void setDuration(final String duration) {
            this.duration = duration;
        }
    
        /**
         * Gets the publication date.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("Sample video description", video.getDescription());
            assertEquals("http://www.example.com/video123.mp4", video.getContentLoc());
            assertEquals("600", video.getDuration());
        }
    
        public void test_parseXmlSitemapsWithNews() {
            final String xml =
                    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                        buf = null;
                    }
                } else if (VIDEO_DURATION_ELEMENT.equals(elementName)) {
                    if (buf != null && currentVideo != null) {
                        currentVideo.setDuration(buf.toString().trim());
                        buf = null;
                    }
                } else if (VIDEO_PUBLICATION_DATE_ELEMENT.equals(elementName)) {
                    if (buf != null && currentVideo != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
Back to top