Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setCaption (1.05 sec)

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

        }
    
        /**
         * Gets the caption of the image.
         * @return the caption
         */
        public String getCaption() {
            return caption;
        }
    
        /**
         * Sets the caption of the image.
         * @param caption the caption to set
         */
        public void setCaption(final String caption) {
            this.caption = caption;
        }
    
        /**
         * Gets the geographic location of the image.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                        buf = null;
                    }
                } else if (IMAGE_CAPTION_ELEMENT.equals(elementName)) {
                    if (buf != null && currentImage != null) {
                        currentImage.setCaption(buf.toString().trim());
                        buf = null;
                    }
                } else if (IMAGE_GEO_LOCATION_ELEMENT.equals(elementName)) {
                    if (buf != null && currentImage != 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)
  3. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

                dcerpcBinding.setOption("endpoint", endpoint);
            }, "Should throw DcerpcException for invalid endpoint format.");
    
            assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint.");
        }
    
        @Test
        void testSetOptionOtherKey() throws DcerpcException {
            dcerpcBinding.setOption("connect", "80");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        UUID uuid = null;
        int major;
        int minor;
    
        DcerpcBinding(final String proto, final String server) {
            this.proto = proto;
            this.server = server;
        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                endpoint = val.toString();
                final String lep = endpoint.toLowerCase();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcBinding.java

         */
        int getMajor() {
            return this.major;
        }
    
        /**
         * @return the minor
         */
        int getMinor() {
            return this.minor;
        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                this.endpoint = val.toString();
                final String lep = this.endpoint.toLowerCase(Locale.ENGLISH);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                        mark = si + 1;
                        if (key == null) {
                            key = "endpoint";
                        }
                        if (binding != null) {
                            binding.setOption(key, val);
                        }
                        key = null;
                    }
                    break;
                default:
                    si = arr.length;
                }
    
                si++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        final String val = str.substring(mark, si).trim();
                        if (key == null) {
                            key = "endpoint";
                        }
                        binding.setOption(key, val);
                        key = null;
                    }
                    break;
                default:
                    si = arr.length;
                }
    
                si++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            final SitemapImage image = sitemapUrl.getImages().get(0);
            assertEquals("http://www.example.com/image.jpg", image.getLoc());
            assertEquals("Sample image caption", image.getCaption());
            assertEquals("Sample image title", image.getTitle());
            assertEquals("Tokyo, Japan", image.getGeoLocation());
            assertEquals("http://www.example.com/license.txt", image.getLicense());
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top